[{"question-split": "dev", "question": "what is the biggest city in arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "arizona"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the biggest city in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the biggest city in arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 0}, {"question-split": "dev", "question": "what arizona city has the largest population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what state_name0 city has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what arizona city has the largest population | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 1}, {"question-split": "dev", "question": "what is the largest city in arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "missouri"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the largest city in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the largest city in arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 2}, {"question-split": "dev", "question": "which rivers run through the state with the largest city in the us", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ) ;", "question_template": "which rivers run through the state with the largest city in the us", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which rivers run through the state with the largest city in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ) ;", "id": 3}, {"question-split": "dev", "question": "how big is texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how big is state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "how big is texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 4}, {"question-split": "dev", "question": "what is the area of texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the area of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the area of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 5}, {"question-split": "dev", "question": "how big is texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "new mexico"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how big is state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "how big is texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 6}, {"question-split": "dev", "question": "how many people live in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "washington"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people live in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many people live in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 7}, {"question-split": "dev", "question": "what state has the smallest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the smallest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the smallest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select min( statealias1.population ) from state as statealias1 ) ;", "id": 8}, {"question-split": "dev", "question": "what is the area of the state with the capital albany", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"albany\" ;", "sentence_variables": [{"key": "capital0", "value": "albany"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ;", "question_template": "what is the area of the state with the capital capital0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "albany", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( albany ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( albany ) , density", "seq_in": "what is the area of the state with the capital albany | geoquery | border_info : state_name , border | city : city_name ( albany ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( albany ) , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.capital = \"albany\" ;", "id": 9}, {"question-split": "dev", "question": "give me the lakes in california", "query": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.STATE_NAME = \"california\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT LAKEalias0.LAKE_NAME FROM LAKE AS LAKEalias0 WHERE LAKEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "give me the lakes in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "california", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( california ) , border ( california ) | city : city_name , population , country_name , state_name ( california ) | highlow : state_name ( california ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( california ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( california ) | river : river_name , length , country_name , traverse ( california ) | state : state_name ( california ) , population , area , country_name , capital , density", "seq_in": "give me the lakes in california | geoquery | border_info : state_name ( california ) , border ( california ) | city : city_name , population , country_name , state_name ( california ) | highlow : state_name ( california ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( california ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( california ) | river : river_name , length , country_name , traverse ( california ) | state : state_name ( california ) , population , area , country_name , capital , density", "seq_out": "geoquery | select lakealias0.lake_name from lake as lakealias0 where lakealias0.state_name = \"california\" ;", "id": 10}, {"question-split": "dev", "question": "what are the states", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 ;", "question_template": "what are the states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 ;", "id": 11}, {"question-split": "dev", "question": "which states do colorado river flow through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "which states do river_name0 river flow through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "which states do colorado river flow through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 12}, {"question-split": "dev", "question": "what states does the colorado river run through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what states does the river_name0 river run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states does the colorado river run through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 13}, {"question-split": "dev", "question": "what states border the colorado river", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what states border the river_name0 river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states border the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 14}, {"question-split": "dev", "question": "what state has the largest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the largest population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 15}, {"question-split": "dev", "question": "what is the lowest elevation in pennsylvania", "query": "SELECT HIGHLOWalias0.LOWEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"pennsylvania\" ;", "sentence_variables": [{"key": "state_name0", "value": "pennsylvania"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the lowest elevation in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "pennsylvania", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( pennsylvania ) , border ( pennsylvania ) | city : city_name , population , country_name , state_name ( pennsylvania ) | highlow : state_name ( pennsylvania ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( pennsylvania ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( pennsylvania ) | state : state_name ( pennsylvania ) , population , area , country_name , capital , density", "seq_in": "what is the lowest elevation in pennsylvania | geoquery | border_info : state_name ( pennsylvania ) , border ( pennsylvania ) | city : city_name , population , country_name , state_name ( pennsylvania ) | highlow : state_name ( pennsylvania ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( pennsylvania ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( pennsylvania ) | state : state_name ( pennsylvania ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_elevation from highlow as highlowalias0 where highlowalias0.state_name = \"pennsylvania\" ;", "id": 16}, {"question-split": "dev", "question": "what is the highest point in each state whose lowest point is sea level", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT , HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = 0 ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT , HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = 0 ;", "question_template": "what is the highest point in each state whose lowest point is sea level", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest point in each state whose lowest point is sea level | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point, highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.lowest_elevation = 0 ;", "id": 17}, {"question-split": "dev", "question": "what is the length of the longest river in the usa", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what is the length of the longest river in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the length of the longest river in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 18}, {"question-split": "dev", "question": "what is the longest river flowing through new york", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"new york\" ) AND RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the longest river flowing through state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "what is the longest river flowing through new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"new york\" ) and riveralias0.traverse = \"new york\" ;", "id": 19}, {"question-split": "dev", "question": "how many rivers are in new york", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many rivers are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how many rivers are in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse = \"new york\" ;", "id": 20}, {"question-split": "dev", "question": "what states neighbor maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "maine"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what states neighbor state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what states neighbor maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 21}, {"question-split": "dev", "question": "which states border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "which states border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "which states border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 22}, {"question-split": "dev", "question": "what states border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "delaware"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what states border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what states border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 23}, {"question-split": "dev", "question": "how many states border the state that borders the most states", "query": "SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 ;", "sentence_variables": [], "sql_template": "SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 ;", "question_template": "how many states border the state that borders the most states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states border the state that borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias0.state_name, count( distinct border_infoalias0.border ) as derived_fieldalias0 from border_info as border_infoalias0 group by border_infoalias0.state_name ) as derived_tablealias0 ;", "id": 24}, {"question-split": "dev", "question": "what state is dallas in", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "dallas"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what state is city_name0 in", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state is dallas in | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 25}, {"question-split": "dev", "question": "where is dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "san diego"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "where is city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "where is dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 26}, {"question-split": "dev", "question": "what is the population of the state with the largest area", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the population of the state with the largest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of the state with the largest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 27}, {"question-split": "dev", "question": "how many people live in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "chicago"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many people live in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many people live in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 28}, {"question-split": "dev", "question": "what is the population of chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "dallas"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what is the population of city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 29}, {"question-split": "dev", "question": "what is the smallest city in arkansas", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arkansas\" ) AND CITYalias0.STATE_NAME = \"arkansas\" ;", "sentence_variables": [{"key": "state_name0", "value": "arkansas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the smallest city in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the smallest city in arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select min( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arkansas\" ) and cityalias0.state_name = \"arkansas\" ;", "id": 30}, {"question-split": "dev", "question": "which states lie on the largest river in the united states", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "which states lie on the largest river in the united states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which states lie on the largest river in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 31}, {"question-split": "dev", "question": "what is the population density of the state with the smallest area", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the population density of the state with the smallest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population density of the state with the smallest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 32}, {"question-split": "dev", "question": "which states have points higher than the highest point in colorado", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION > ( SELECT HIGHLOWalias1.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = \"colorado\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION > ( SELECT HIGHLOWalias1.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "which states have points higher than the highest point in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "which states have points higher than the highest point in colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation > ( select highlowalias1.highest_elevation from highlow as highlowalias1 where highlowalias1.state_name = \"colorado\" ) ;", "id": 33}, {"question-split": "dev", "question": "what is the highest elevation in new mexico", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"new mexico\" ;", "sentence_variables": [{"key": "state_name0", "value": "new mexico"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest elevation in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new mexico", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_in": "what is the highest elevation in new mexico | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.state_name = \"new mexico\" ;", "id": 34}, {"question-split": "dev", "question": "how high is the highest point of new mexico", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"new mexico\" ;", "sentence_variables": [{"key": "state_name0", "value": "florida"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how high is the highest point of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new mexico", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_in": "how high is the highest point of new mexico | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.state_name = \"new mexico\" ;", "id": 35}, {"question-split": "dev", "question": "give me the longest river that passes through the us", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "give me the longest river that passes through the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "give me the longest river that passes through the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 36}, {"question-split": "dev", "question": "what state has the city with the largest population", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what state has the city with the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the city with the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 37}, {"question-split": "dev", "question": "what is the smallest city in the largest state", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MAX( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MAX( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "question_template": "what is the smallest city in the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the smallest city in the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select min( cityalias1.population ) from city as cityalias1 where cityalias1.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ) ) and cityalias0.state_name in ( select statealias2.state_name from state as statealias2 where statealias2.area = ( select max( statealias3.area ) from state as statealias3 ) ) ;", "id": 38}, {"question-split": "dev", "question": "what state is the biggest", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state is the biggest", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state is the biggest | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 39}, {"question-split": "dev", "question": "what are the highest points of states surrounding mississippi", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "mississippi"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "what are the highest points of states surrounding state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the highest points of states surrounding mississippi | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"mississippi\" ) ;", "id": 40}, {"question-split": "dev", "question": "what is the state with the lowest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the state with the lowest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the state with the lowest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 41}, {"question-split": "dev", "question": "what is the longest river that passes the states that border the state that borders the most states", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH IN ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias0 ) FROM ( SELECT MAX( RIVERalias1.LENGTH ) AS DERIVED_FIELDalias0 , RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias2.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias2 GROUP BY BORDER_INFOalias2.BORDER ) AS DERIVED_TABLEalias0 ) ) ) GROUP BY RIVERalias1.TRAVERSE ) AS DERIVED_TABLEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH IN ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias0 ) FROM ( SELECT MAX( RIVERalias1.LENGTH ) AS DERIVED_FIELDalias0 , RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias2.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias2 GROUP BY BORDER_INFOalias2.BORDER ) AS DERIVED_TABLEalias0 ) ) ) GROUP BY RIVERalias1.TRAVERSE ) AS DERIVED_TABLEalias1 ) ;", "question_template": "what is the longest river that passes the states that border the state that borders the most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the longest river that passes the states that border the state that borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.length in ( select max( derived_tablealias1.derived_fieldalias0 ) from ( select max( riveralias1.length ) as derived_fieldalias0, riveralias1.traverse from river as riveralias1 where riveralias1.traverse in ( select border_infoalias0.state_name from border_info as border_infoalias0 where border_infoalias0.border in ( select border_infoalias1.border from border_info as border_infoalias1 group by border_infoalias1.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias1 ) from ( select border_infoalias2.border, count( 1 ) as derived_fieldalias1 from border_info as border_infoalias2 group by border_infoalias2.border ) as derived_tablealias0 ) ) ) group by riveralias1.traverse ) as derived_tablealias1 ) ;", "id": 42}, {"question-split": "dev", "question": "where is the highest point in montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "where is the highest point in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "where is the highest point in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 43}, {"question-split": "dev", "question": "what states have no bordering state", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 ) ;", "question_template": "what states have no bordering state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have no bordering state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name not in ( select border_infoalias0.state_name from border_info as border_infoalias0 ) ;", "id": 44}, {"question-split": "dev", "question": "which state borders most states", "query": "SELECT DERIVED_TABLEalias1.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DERIVED_TABLEalias1.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "question_template": "which state borders most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state borders most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select derived_tablealias1.state_name from ( select border_infoalias0.state_name, count( distinct border_infoalias0.border ) as derived_fieldalias0 from border_info as border_infoalias0 group by border_infoalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select border_infoalias1.state_name, count( distinct border_infoalias1.border ) as derived_fieldalias1 from border_info as border_infoalias1 group by border_infoalias1.state_name ) as derived_tablealias1 ) ;", "id": 45}, {"question-split": "dev", "question": "which state borders most states", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ;", "question_template": "which state borders most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state borders most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 group by border_infoalias0.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias1.border, count( 1 ) as derived_fieldalias0 from border_info as border_infoalias1 group by border_infoalias1.border ) as derived_tablealias0 ) ;", "id": 46}, {"question-split": "dev", "question": "what is the area of the state with the smallest population density", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the area of the state with the smallest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the area of the state with the smallest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 47}, {"question-split": "dev", "question": "what is the population of minneapolis minnesota", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"minneapolis\" AND CITYalias0.STATE_NAME = \"minnesota\" ;", "sentence_variables": [{"key": "city_name0", "value": "atlanta"}, {"key": "state_name0", "value": "georgia"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of city_name0 state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "minneapolis", "location": "both", "name": "city_name0", "type": "city_name"}, {"example": "minnesota", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( minnesota ) , border ( minnesota ) | city : city_name ( minneapolis ) , population , country_name , state_name ( minnesota ) | highlow : state_name ( minnesota ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( minnesota ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( minnesota ) | state : state_name ( minnesota ) , population , area , country_name , capital , density", "seq_in": "what is the population of minneapolis minnesota | geoquery | border_info : state_name ( minnesota ) , border ( minnesota ) | city : city_name ( minneapolis ) , population , country_name , state_name ( minnesota ) | highlow : state_name ( minnesota ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( minnesota ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( minnesota ) | state : state_name ( minnesota ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"minneapolis\" and cityalias0.state_name = \"minnesota\" ;", "id": 48}, {"question-split": "dev", "question": "what are major rivers in florida", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"florida\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what are major rivers in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "what are major rivers in florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length > 750 and riveralias0.traverse = \"florida\" ;", "id": 49}, {"question-split": "test", "question": "what is the biggest city in arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "kansas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the biggest city in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the biggest city in arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 50}, {"question-split": "test", "question": "what is the biggest city in arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "louisiana"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the biggest city in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the biggest city in arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 51}, {"question-split": "test", "question": "what is the largest city in arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the largest city in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the largest city in arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 52}, {"question-split": "test", "question": "what is the largest city in arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "rhode island"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the largest city in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "what is the largest city in arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 53}, {"question-split": "test", "question": "where is the most populated area of arizona", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "new mexico"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "where is the most populated area of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "where is the most populated area of arizona | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 54}, {"question-split": "test", "question": "which city in arizona has the largest population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"arizona\" ) AND CITYalias0.STATE_NAME = \"arizona\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "which city in state_name0 has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arizona", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_in": "which city in arizona has the largest population | geoquery | border_info : state_name ( arizona ) , border ( arizona ) | city : city_name , population , country_name , state_name ( arizona ) | highlow : state_name ( arizona ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( arizona ) | state : state_name ( arizona ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"arizona\" ) and cityalias0.state_name = \"arizona\" ;", "id": 55}, {"question-split": "test", "question": "how large is texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how large is state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "how large is texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 56}, {"question-split": "test", "question": "how large is texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how large is state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "how large is texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 57}, {"question-split": "test", "question": "what is the area of texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "florida"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the area of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the area of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 58}, {"question-split": "test", "question": "what is the area of texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "ohio"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the area of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the area of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 59}, {"question-split": "test", "question": "what is the area of the texas state", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the area of the state_name0 state", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the area of the texas state | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 60}, {"question-split": "test", "question": "what is the area of texas", "query": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "wisconsin"}], "sql_template": "SELECT STATEalias0.AREA FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the area of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the area of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.area from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 61}, {"question-split": "test", "question": "how many people live in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people live in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many people live in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 62}, {"question-split": "test", "question": "how many people live in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "rhode island"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people live in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many people live in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 63}, {"question-split": "test", "question": "how many people reside in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "utah"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people reside in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many people reside in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 64}, {"question-split": "test", "question": "how many residents live in washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many residents live in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how many residents live in washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 65}, {"question-split": "test", "question": "how much population does washington have", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how much population does state_name0 have", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "how much population does washington have | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 66}, {"question-split": "test", "question": "what are the population of washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the population of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "what are the population of washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 67}, {"question-split": "test", "question": "what is the population of washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "what is the population of washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 68}, {"question-split": "test", "question": "what is the population of washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "hawaii"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "what is the population of washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 69}, {"question-split": "test", "question": "what is the population of washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "maryland"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "what is the population of washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 70}, {"question-split": "test", "question": "what is the population of washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "new mexico"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "what is the population of washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 71}, {"question-split": "test", "question": "what is the population of washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "utah"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "what is the population of washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 72}, {"question-split": "test", "question": "what is the population of washington", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"washington\" ;", "sentence_variables": [{"key": "state_name0", "value": "washington"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "washington", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_in": "what is the population of washington | geoquery | border_info : state_name ( washington ) , border ( washington ) | city : city_name ( washington ) , population , country_name , state_name ( washington ) | highlow : state_name ( washington ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( washington ) | river : river_name , length , country_name , traverse ( washington ) | state : state_name ( washington ) , population , area , country_name , capital ( washington ) , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name = \"washington\" ;", "id": 73}, {"question-split": "test", "question": "what is the least populous state", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MIN( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the least populous state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the least populous state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select min( statealias1.population ) from state as statealias1 ) ;", "id": 74}, {"question-split": "test", "question": "tell me what cities are in virginia", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"virginia\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "tell me what cities are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "virginia", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_in": "tell me what cities are in virginia | geoquery | border_info : state_name ( virginia ) , border ( virginia ) | city : city_name , population , country_name , state_name ( virginia ) | highlow : state_name ( virginia ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( virginia ) | state : state_name ( virginia ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name = \"virginia\" ;", "id": 75}, {"question-split": "test", "question": "which states border the colorado river", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "missouri"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "which states border the river_name0 river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "which states border the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 76}, {"question-split": "test", "question": "what states does the colorado river run through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "delaware"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what states does the river_name0 river run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states does the colorado river run through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 77}, {"question-split": "test", "question": "what states does the colorado river run through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what states does the river_name0 river run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states does the colorado river run through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 78}, {"question-split": "test", "question": "what states does the colorado run through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "missouri"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what states does the river_name0 run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states does the colorado run through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 79}, {"question-split": "test", "question": "what states does the colorado river run through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "ohio"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what states does the river_name0 river run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what states does the colorado river run through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 80}, {"question-split": "test", "question": "where is the colorado river", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "chattahoochee"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "where is the river_name0 river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "where is the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 81}, {"question-split": "test", "question": "which states does the colorado river run through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "chattahoochee"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "which states does the river_name0 river run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "which states does the colorado river run through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 82}, {"question-split": "test", "question": "which states does the colorado run through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "which states does the river_name0 run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "which states does the colorado run through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 83}, {"question-split": "test", "question": "what is the most populous state", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the most populous state", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the most populous state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 84}, {"question-split": "test", "question": "what state is the largest in population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state is the largest in population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state is the largest in population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 85}, {"question-split": "test", "question": "which state has the biggest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the biggest population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the biggest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 86}, {"question-split": "test", "question": "which state has the greatest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the greatest population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the greatest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 87}, {"question-split": "test", "question": "which state has the most population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the most population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the most population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 88}, {"question-split": "test", "question": "how long is the longest river in the usa", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "how long is the longest river in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "how long is the longest river in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 89}, {"question-split": "test", "question": "what is the largest river in new york state", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"new york\" ) AND RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "washington"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the largest river in state_name0 state", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "what is the largest river in new york state | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"new york\" ) and riveralias0.traverse = \"new york\" ;", "id": 90}, {"question-split": "test", "question": "what is the longest river in new york", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"new york\" ) AND RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "florida"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the longest river in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "what is the longest river in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"new york\" ) and riveralias0.traverse = \"new york\" ;", "id": 91}, {"question-split": "test", "question": "give me the number of rivers in new york", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "give me the number of rivers in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "give me the number of rivers in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse = \"new york\" ;", "id": 92}, {"question-split": "test", "question": "how many rivers are in new york", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many rivers are in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how many rivers are in new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse = \"new york\" ;", "id": 93}, {"question-split": "test", "question": "how many rivers does new york have", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how many rivers does state_name0 have", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how many rivers does new york have | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.traverse = \"new york\" ;", "id": 94}, {"question-split": "test", "question": "give me the states that border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "utah"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "give me the states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "give me the states that border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 95}, {"question-split": "test", "question": "what state borders maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what state borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what state borders maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 96}, {"question-split": "test", "question": "what states are next to maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "arizona"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what states are next to state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what states are next to maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 97}, {"question-split": "test", "question": "what states border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "florida"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what states border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what states border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 98}, {"question-split": "test", "question": "what states border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "indiana"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what states border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what states border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 99}, {"question-split": "test", "question": "what states border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "michigan"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what states border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what states border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 100}, {"question-split": "test", "question": "what states border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what states border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what states border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 101}, {"question-split": "test", "question": "what states border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "new jersey"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what states border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what states border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 102}, {"question-split": "test", "question": "what states surround maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "kentucky"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what states surround state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "what states surround maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 103}, {"question-split": "test", "question": "which state borders maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "hawaii"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "which state borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "which state borders maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 104}, {"question-split": "test", "question": "which states border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "illinois"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "which states border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "which states border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 105}, {"question-split": "test", "question": "which states border maine", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"maine\" ;", "sentence_variables": [{"key": "state_name0", "value": "kentucky"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "which states border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "maine", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_in": "which states border maine | geoquery | border_info : state_name ( maine ) , border ( maine ) | city : city_name , population , country_name , state_name ( maine ) | highlow : state_name ( maine ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( maine ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"maine\" ;", "id": 106}, {"question-split": "test", "question": "rivers in texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "rivers in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "rivers in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 107}, {"question-split": "test", "question": "what are all the rivers in texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what are all the rivers in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are all the rivers in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 108}, {"question-split": "test", "question": "what are the rivers in texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what are the rivers in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are the rivers in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 109}, {"question-split": "test", "question": "what rivers are in texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what rivers are in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what rivers are in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 110}, {"question-split": "test", "question": "what rivers are there in texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what rivers are there in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what rivers are there in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 111}, {"question-split": "test", "question": "what rivers run through texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what rivers run through state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what rivers run through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = \"texas\" ;", "id": 112}, {"question-split": "test", "question": "dallas is in what state", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "san antonio"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "city_name0 is in what state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "dallas is in what state | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 113}, {"question-split": "test", "question": "what state is dallas in", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "austin"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what state is city_name0 in", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state is dallas in | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 114}, {"question-split": "test", "question": "what state is dallas in", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "miami"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what state is city_name0 in", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state is dallas in | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 115}, {"question-split": "test", "question": "what states have cities named dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "dallas"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what states have cities named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have cities named dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 116}, {"question-split": "test", "question": "what states have cities named dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "plano"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what states have cities named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have cities named dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 117}, {"question-split": "test", "question": "what states have cities named dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "portland"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what states have cities named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have cities named dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 118}, {"question-split": "test", "question": "what states have cities named dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "rochester"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what states have cities named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have cities named dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 119}, {"question-split": "test", "question": "what states have cities named dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "salt lake city"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what states have cities named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states have cities named dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 120}, {"question-split": "test", "question": "where is dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "dallas"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "where is city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "where is dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 121}, {"question-split": "test", "question": "where is dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "portland"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "where is city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "where is dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 122}, {"question-split": "test", "question": "which states have cities named dallas", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"dallas\" ;", "sentence_variables": [{"key": "city_name0", "value": "austin"}], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "which states have cities named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "dallas", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which states have cities named dallas | geoquery | border_info : state_name , border | city : city_name ( dallas ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.city_name = \"dallas\" ;", "id": 123}, {"question-split": "test", "question": "how many people lived in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "austin"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many people lived in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many people lived in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 124}, {"question-split": "test", "question": "how many people live in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "detroit"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many people live in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many people live in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 125}, {"question-split": "test", "question": "how many people live in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "houston"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "how many people live in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many people live in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 126}, {"question-split": "test", "question": "number of people in chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "boulder"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "number of people in city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "number of people in chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 127}, {"question-split": "test", "question": "what is the population of chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "boulder"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what is the population of city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 128}, {"question-split": "test", "question": "what is the population of chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "houston"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what is the population of city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 129}, {"question-split": "test", "question": "what is the population of chicago city", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "new york"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what is the population of city_name0 city", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of chicago city | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 130}, {"question-split": "test", "question": "what is the population of chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "san antonio"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what is the population of city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 131}, {"question-split": "test", "question": "what is the population of chicago", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"chicago\" ;", "sentence_variables": [{"key": "city_name0", "value": "tucson"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" ;", "question_template": "what is the population of city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "chicago", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of chicago | geoquery | border_info : state_name , border | city : city_name ( chicago ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"chicago\" ;", "id": 132}, {"question-split": "test", "question": "which states does the longest river run through", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "which states does the longest river run through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which states does the longest river run through | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 133}, {"question-split": "test", "question": "how high is the highest point of new mexico", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"new mexico\" ;", "sentence_variables": [{"key": "state_name0", "value": "alabama"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how high is the highest point of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new mexico", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_in": "how high is the highest point of new mexico | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.state_name = \"new mexico\" ;", "id": 134}, {"question-split": "test", "question": "how tall is the highest point in new mexico", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"new mexico\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how tall is the highest point in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new mexico", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_in": "how tall is the highest point in new mexico | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.state_name = \"new mexico\" ;", "id": 135}, {"question-split": "test", "question": "what is the highest elevation in new mexico", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"new mexico\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest elevation in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new mexico", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_in": "what is the highest elevation in new mexico | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.state_name = \"new mexico\" ;", "id": 136}, {"question-split": "test", "question": "what is the highest point in new mexico in meters", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"new mexico\" ;", "sentence_variables": [{"key": "state_name0", "value": "nevada"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest point in state_name0 in meters", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new mexico", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_in": "what is the highest point in new mexico in meters | geoquery | border_info : state_name ( new mexico ) , border ( new mexico ) | city : city_name , population , country_name , state_name ( new mexico ) | highlow : state_name ( new mexico ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new mexico ) | state : state_name ( new mexico ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.state_name = \"new mexico\" ;", "id": 137}, {"question-split": "test", "question": "which is the longest river in usa", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "which is the longest river in usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "which is the longest river in usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ;", "id": 138}, {"question-split": "test", "question": "what is the state with the largest area", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the state with the largest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the state with the largest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 139}, {"question-split": "test", "question": "what state has the largest area", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the largest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the largest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 140}, {"question-split": "test", "question": "what is the highest point in states bordering mississippi", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"mississippi\" ) ORDER BY HIGHLOWalias0.HIGHEST_ELEVATION DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "georgia"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ORDER BY HIGHLOWalias0.HIGHEST_ELEVATION DESC LIMIT 1 ;", "question_template": "what is the highest point in states bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what is the highest point in states bordering mississippi | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"mississippi\" ) order by highlowalias0.highest_elevation desc limit 1 ;", "id": 141}, {"question-split": "test", "question": "what is the highest point in the states bordering mississippi", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"mississippi\" ) ORDER BY HIGHLOWalias0.HIGHEST_ELEVATION DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ORDER BY HIGHLOWalias0.HIGHEST_ELEVATION DESC LIMIT 1 ;", "question_template": "what is the highest point in the states bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what is the highest point in the states bordering mississippi | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"mississippi\" ) order by highlowalias0.highest_elevation desc limit 1 ;", "id": 142}, {"question-split": "test", "question": "what state has the lowest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what state has the lowest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the lowest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 143}, {"question-split": "test", "question": "which state has the lowest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the lowest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the lowest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 144}, {"question-split": "test", "question": "which state has the smallest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the smallest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the smallest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ;", "id": 145}, {"question-split": "test", "question": "what is the highest point in montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest point in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "what is the highest point in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 146}, {"question-split": "test", "question": "what is the highest point in montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "maine"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest point in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "what is the highest point in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 147}, {"question-split": "test", "question": "what is the highest point in montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "montana"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest point in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "what is the highest point in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 148}, {"question-split": "test", "question": "what is the highest point in montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "virginia"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest point in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "what is the highest point in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 149}, {"question-split": "test", "question": "what is the high point of montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "wyoming"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the high point of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name ( high point ) , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point ( high point ) , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "what is the high point of montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name ( high point ) , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point ( high point ) , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 150}, {"question-split": "test", "question": "where is the highest point in montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "hawaii"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "where is the highest point in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "where is the highest point in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 151}, {"question-split": "test", "question": "what is the highest point in montana", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"montana\" ;", "sentence_variables": [{"key": "state_name0", "value": "delaware"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the highest point in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "montana", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_in": "what is the highest point in montana | geoquery | border_info : state_name ( montana ) , border ( montana ) | city : city_name , population , country_name , state_name ( montana ) | highlow : state_name ( montana ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( montana ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( montana ) | state : state_name ( montana ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name = \"montana\" ;", "id": 152}, {"question-split": "test", "question": "what state borders the most states", "query": "SELECT DERIVED_TABLEalias1.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DERIVED_TABLEalias1.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "question_template": "what state borders the most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select derived_tablealias1.state_name from ( select border_infoalias0.state_name, count( distinct border_infoalias0.border ) as derived_fieldalias0 from border_info as border_infoalias0 group by border_infoalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select border_infoalias1.state_name, count( distinct border_infoalias1.border ) as derived_fieldalias1 from border_info as border_infoalias1 group by border_infoalias1.state_name ) as derived_tablealias1 ) ;", "id": 153}, {"question-split": "test", "question": "what state borders the most states", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ;", "question_template": "what state borders the most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 group by border_infoalias0.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias1.border, count( 1 ) as derived_fieldalias0 from border_info as border_infoalias1 group by border_infoalias1.border ) as derived_tablealias0 ) ;", "id": 154}, {"question-split": "test", "question": "which state borders the most states", "query": "SELECT DERIVED_TABLEalias1.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DERIVED_TABLEalias1.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ;", "question_template": "which state borders the most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select derived_tablealias1.state_name from ( select border_infoalias0.state_name, count( distinct border_infoalias0.border ) as derived_fieldalias0 from border_info as border_infoalias0 group by border_infoalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select border_infoalias1.state_name, count( distinct border_infoalias1.border ) as derived_fieldalias1 from border_info as border_infoalias1 group by border_infoalias1.state_name ) as derived_tablealias1 ) ;", "id": 155}, {"question-split": "test", "question": "which state borders the most states", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ;", "question_template": "which state borders the most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 group by border_infoalias0.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias1.border, count( 1 ) as derived_fieldalias0 from border_info as border_infoalias1 group by border_infoalias1.border ) as derived_tablealias0 ) ;", "id": 156}, {"question-split": "test", "question": "count the states which have elevations lower than what alabama has", "query": "SELECT COUNT( HIGHLOWalias0.STATE_NAME ) FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION < ( SELECT HIGHLOWalias1.LOWEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = \"alabama\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "alabama"}], "sql_template": "SELECT COUNT( HIGHLOWalias0.STATE_NAME ) FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION < ( SELECT HIGHLOWalias1.LOWEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "count the states which have elevations lower than what state_name0 has", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "count the states which have elevations lower than what alabama has | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( highlowalias0.state_name ) from highlow as highlowalias0 where highlowalias0.lowest_elevation < ( select highlowalias1.lowest_elevation from highlow as highlowalias1 where highlowalias1.state_name = \"alabama\" ) ;", "id": 157}, {"question-split": "test", "question": "how high is mount mckinley", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_POINT = \"mount mckinley\" ;", "sentence_variables": [{"key": "highest_point0", "value": "mount mckinley"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_POINT = \"highest_point0\" ;", "question_template": "how high is highest_point0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mount mckinley", "location": "both", "name": "highest_point0", "type": "highest_point"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how high is mount mckinley | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.highest_point = \"mount mckinley\" ;", "id": 158}, {"question-split": "test", "question": "how tall is mount mckinley", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_POINT = \"mount mckinley\" ;", "sentence_variables": [{"key": "highest_point0", "value": "mount mckinley"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_POINT = \"highest_point0\" ;", "question_template": "how tall is highest_point0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mount mckinley", "location": "both", "name": "highest_point0", "type": "highest_point"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how tall is mount mckinley | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.highest_point = \"mount mckinley\" ;", "id": 159}, {"question-split": "test", "question": "what is the maximum elevation of mount mckinley", "query": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_POINT = \"mount mckinley\" ;", "sentence_variables": [{"key": "highest_point0", "value": "san francisco"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_POINT = \"highest_point0\" ;", "question_template": "what is the maximum elevation of highest_point0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mount mckinley", "location": "both", "name": "highest_point0", "type": "highest_point"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the maximum elevation of mount mckinley | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_elevation from highlow as highlowalias0 where highlowalias0.highest_point = \"mount mckinley\" ;", "id": 160}, {"question-split": "test", "question": "how high is the highest point in america", "query": "SELECT MAX( HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 ;", "sentence_variables": [], "sql_template": "SELECT MAX( HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 ;", "question_template": "how high is the highest point in america", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how high is the highest point in america | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select max( highlowalias0.highest_elevation ) from highlow as highlowalias0 ;", "id": 161}, {"question-split": "test", "question": "what is the highest elevation in the united states", "query": "SELECT MAX( HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 ;", "sentence_variables": [], "sql_template": "SELECT MAX( HIGHLOWalias0.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias0 ;", "question_template": "what is the highest elevation in the united states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest elevation in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select max( highlowalias0.highest_elevation ) from highlow as highlowalias0 ;", "id": 162}, {"question-split": "test", "question": "how long is the colorado river", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how long is the river_name0 river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how long is the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 163}, {"question-split": "test", "question": "how long is the colorado river", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "delaware"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how long is the river_name0 river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how long is the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 164}, {"question-split": "test", "question": "how long is the colorado river", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "north platte"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how long is the river_name0 river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how long is the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 165}, {"question-split": "test", "question": "how long is the colorado river", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "ohio"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how long is the river_name0 river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how long is the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 166}, {"question-split": "test", "question": "what is the length of the colorado river", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what is the length of the river_name0 river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what is the length of the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 167}, {"question-split": "test", "question": "what is the length of the colorado river", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what is the length of the river_name0 river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what is the length of the colorado river | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 168}, {"question-split": "test", "question": "what length is the colorado", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "what length is the river_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what length is the colorado | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 169}, {"question-split": "test", "question": "how long is the longest river in california", "query": "SELECT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"california\" ) AND RIVERalias0.TRAVERSE = \"california\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "how long is the longest river in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "california", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( california ) , border ( california ) | city : city_name , population , country_name , state_name ( california ) | highlow : state_name ( california ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( california ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( california ) | river : river_name , length , country_name , traverse ( california ) | state : state_name ( california ) , population , area , country_name , capital , density", "seq_in": "how long is the longest river in california | geoquery | border_info : state_name ( california ) , border ( california ) | city : city_name , population , country_name , state_name ( california ) | highlow : state_name ( california ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( california ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( california ) | river : river_name , length , country_name , traverse ( california ) | state : state_name ( california ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.length from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"california\" ) and riveralias0.traverse = \"california\" ;", "id": 170}, {"question-split": "test", "question": "what is the length of the longest river that runs through california", "query": "SELECT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"california\" ) AND RIVERalias0.TRAVERSE = \"california\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what is the length of the longest river that runs through state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "california", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( california ) , border ( california ) | city : city_name , population , country_name , state_name ( california ) | highlow : state_name ( california ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( california ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( california ) | river : river_name , length , country_name , traverse ( california ) | state : state_name ( california ) , population , area , country_name , capital , density", "seq_in": "what is the length of the longest river that runs through california | geoquery | border_info : state_name ( california ) , border ( california ) | city : city_name , population , country_name , state_name ( california ) | highlow : state_name ( california ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( california ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( california ) | river : river_name , length , country_name , traverse ( california ) | state : state_name ( california ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.length from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"california\" ) and riveralias0.traverse = \"california\" ;", "id": 171}, {"question-split": "test", "question": "how many capitals does rhode island have", "query": "SELECT COUNT( STATEalias0.CAPITAL ) FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"rhode island\" ;", "sentence_variables": [{"key": "state_name0", "value": "rhode island"}], "sql_template": "SELECT COUNT( STATEalias0.CAPITAL ) FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many capitals does state_name0 have", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "rhode island", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( rhode island ) , border ( rhode island ) | city : city_name , population , country_name , state_name ( rhode island ) | highlow : state_name ( rhode island ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( rhode island ) , population , area , country_name , capital , density", "seq_in": "how many capitals does rhode island have | geoquery | border_info : state_name ( rhode island ) , border ( rhode island ) | city : city_name , population , country_name , state_name ( rhode island ) | highlow : state_name ( rhode island ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name ( rhode island ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( statealias0.capital ) from state as statealias0 where statealias0.state_name = \"rhode island\" ;", "id": 172}, {"question-split": "test", "question": "how many cities are there in the united states", "query": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( CITYalias0.CITY_NAME ) FROM CITY AS CITYalias0 ;", "question_template": "how many cities are there in the united states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many cities are there in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( cityalias0.city_name ) from city as cityalias0 ;", "id": 173}, {"question-split": "test", "question": "how many citizens does the biggest city have in the usa", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "how many citizens does the biggest city have in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "how many citizens does the biggest city have in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 174}, {"question-split": "test", "question": "how many colorado rivers are there", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ;", "question_template": "how many river_name0 rivers are there", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "how many colorado rivers are there | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 where riveralias0.river_name = \"colorado\" ;", "id": 175}, {"question-split": "test", "question": "how many people live in minneapolis minnesota", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"minneapolis\" AND CITYalias0.STATE_NAME = \"minnesota\" ;", "sentence_variables": [{"key": "city_name0", "value": "minneapolis"}, {"key": "state_name0", "value": "minnesota"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people live in city_name0 state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "minneapolis", "location": "both", "name": "city_name0", "type": "city_name"}, {"example": "minnesota", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( minnesota ) , border ( minnesota ) | city : city_name ( minneapolis ) , population , country_name , state_name ( minnesota ) | highlow : state_name ( minnesota ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( minnesota ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( minnesota ) | state : state_name ( minnesota ) , population , area , country_name , capital , density", "seq_in": "how many people live in minneapolis minnesota | geoquery | border_info : state_name ( minnesota ) , border ( minnesota ) | city : city_name ( minneapolis ) , population , country_name , state_name ( minnesota ) | highlow : state_name ( minnesota ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( minnesota ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( minnesota ) | state : state_name ( minnesota ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"minneapolis\" and cityalias0.state_name = \"minnesota\" ;", "id": 176}, {"question-split": "test", "question": "what is the population of minneapolis minnesota", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"minneapolis\" AND CITYalias0.STATE_NAME = \"minnesota\" ;", "sentence_variables": [{"key": "city_name0", "value": "erie"}, {"key": "state_name0", "value": "pennsylvania"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of city_name0 state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "minneapolis", "location": "both", "name": "city_name0", "type": "city_name"}, {"example": "minnesota", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( minnesota ) , border ( minnesota ) | city : city_name ( minneapolis ) , population , country_name , state_name ( minnesota ) | highlow : state_name ( minnesota ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( minnesota ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( minnesota ) | state : state_name ( minnesota ) , population , area , country_name , capital , density", "seq_in": "what is the population of minneapolis minnesota | geoquery | border_info : state_name ( minnesota ) , border ( minnesota ) | city : city_name ( minneapolis ) , population , country_name , state_name ( minnesota ) | highlow : state_name ( minnesota ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( minnesota ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( minnesota ) | state : state_name ( minnesota ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"minneapolis\" and cityalias0.state_name = \"minnesota\" ;", "id": 177}, {"question-split": "test", "question": "what is the population of minneapolis minnesota", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"minneapolis\" AND CITYalias0.STATE_NAME = \"minnesota\" ;", "sentence_variables": [{"key": "city_name0", "value": "tempe"}, {"key": "state_name0", "value": "arizona"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population of city_name0 state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "minneapolis", "location": "both", "name": "city_name0", "type": "city_name"}, {"example": "minnesota", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( minnesota ) , border ( minnesota ) | city : city_name ( minneapolis ) , population , country_name , state_name ( minnesota ) | highlow : state_name ( minnesota ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( minnesota ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( minnesota ) | state : state_name ( minnesota ) , population , area , country_name , capital , density", "seq_in": "what is the population of minneapolis minnesota | geoquery | border_info : state_name ( minnesota ) , border ( minnesota ) | city : city_name ( minneapolis ) , population , country_name , state_name ( minnesota ) | highlow : state_name ( minnesota ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( minnesota ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( minnesota ) | state : state_name ( minnesota ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = \"minneapolis\" and cityalias0.state_name = \"minnesota\" ;", "id": 178}, {"question-split": "test", "question": "how many people live in the biggest city in new york state", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"new york\" ) AND CITYalias0.STATE_NAME = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME = \"state_name0\" ) AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many people live in the biggest city in state_name0 state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "how many people live in the biggest city in new york state | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name = \"new york\" ) and cityalias0.state_name = \"new york\" ;", "id": 179}, {"question-split": "test", "question": "how many people live in the capital of texas", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.CITY_NAME = ( SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "how many people live in the capital of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "how many people live in the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.city_name = ( select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ) ;", "id": 180}, {"question-split": "test", "question": "how many people live in the united states", "query": "SELECT SUM( STATEalias0.POPULATION ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT SUM( STATEalias0.POPULATION ) FROM STATE AS STATEalias0 ;", "question_template": "how many people live in the united states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many people live in the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select sum( statealias0.population ) from state as statealias0 ;", "id": 181}, {"question-split": "test", "question": "how many rivers are in the state that has the most rivers", "query": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( RIVERalias0.RIVER_NAME ) FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "how many rivers are in the state that has the most rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many rivers are in the state that has the most rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( riveralias0.river_name ) from river as riveralias0 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 182}, {"question-split": "test", "question": "how many rivers are in the state that has the most rivers", "query": "SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT COUNT( RIVERalias0.RIVER_NAME ) AS DERIVED_FIELDalias0 , RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ) AS DERIVED_TABLEalias0 ;", "sentence_variables": [], "sql_template": "SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT COUNT( RIVERalias0.RIVER_NAME ) AS DERIVED_FIELDalias0 , RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ) AS DERIVED_TABLEalias0 ;", "question_template": "how many rivers are in the state that has the most rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many rivers are in the state that has the most rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select max( derived_tablealias0.derived_fieldalias0 ) from ( select count( riveralias0.river_name ) as derived_fieldalias0, riveralias0.traverse from river as riveralias0 group by riveralias0.traverse ) as derived_tablealias0 ;", "id": 183}, {"question-split": "test", "question": "how many states are in the usa", "query": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "question_template": "how many states are in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "how many states are in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select count( statealias0.state_name ) from state as statealias0 ;", "id": 184}, {"question-split": "test", "question": "how many states are there", "query": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "question_template": "how many states are there", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states are there | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( statealias0.state_name ) from state as statealias0 ;", "id": 185}, {"question-split": "test", "question": "how many states are there in the usa", "query": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "question_template": "how many states are there in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "how many states are there in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select count( statealias0.state_name ) from state as statealias0 ;", "id": 186}, {"question-split": "test", "question": "how many states does usa have", "query": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT COUNT( STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 ;", "question_template": "how many states does usa have", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "how many states does usa have | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select count( statealias0.state_name ) from state as statealias0 ;", "id": 187}, {"question-split": "test", "question": "how many states border iowa", "query": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"iowa\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many states border state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "how many states border iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.state_name = \"iowa\" ;", "id": 188}, {"question-split": "test", "question": "how many states does iowa border", "query": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"iowa\" ;", "sentence_variables": [{"key": "state_name0", "value": "tennessee"}], "sql_template": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "how many states does state_name0 border", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "how many states does iowa border | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.state_name = \"iowa\" ;", "id": 189}, {"question-split": "test", "question": "iowa borders how many states", "query": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"iowa\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "state_name0 borders how many states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "iowa borders how many states | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.state_name = \"iowa\" ;", "id": 190}, {"question-split": "test", "question": "number of states bordering iowa", "query": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"iowa\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ;", "question_template": "number of states bordering state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "iowa", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_in": "number of states bordering iowa | geoquery | border_info : state_name ( iowa ) , border ( iowa ) | city : city_name , population , country_name , state_name ( iowa ) | highlow : state_name ( iowa ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( iowa ) | state : state_name ( iowa ) , population , area , country_name , capital , density", "seq_out": "geoquery | select count( border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.state_name = \"iowa\" ;", "id": 191}, {"question-split": "test", "question": "how many states border the state with the largest population", "query": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT COUNT( BORDER_INFOalias0.BORDER ) FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "how many states border the state with the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states border the state with the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( border_infoalias0.border ) from border_info as border_infoalias0 where border_infoalias0.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ) ;", "id": 192}, {"question-split": "test", "question": "how many states do not have rivers", "query": "SELECT COUNT( DISTINCT STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 ) ;", "sentence_variables": [], "sql_template": "SELECT COUNT( DISTINCT STATEalias0.STATE_NAME ) FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME NOT IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 ) ;", "question_template": "how many states do not have rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states do not have rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( distinct statealias0.state_name ) from state as statealias0 where statealias0.state_name not in ( select riveralias0.traverse from river as riveralias0 ) ;", "id": 193}, {"question-split": "test", "question": "how many states have a higher point than the highest point of the state with the largest capital city in the us", "query": "SELECT COUNT( HIGHLOWalias0.STATE_NAME ) FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION > ( SELECT HIGHLOWalias1.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = ( SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ) ) ) ;", "sentence_variables": [], "sql_template": "SELECT COUNT( HIGHLOWalias0.STATE_NAME ) FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION > ( SELECT HIGHLOWalias1.HIGHEST_ELEVATION FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = ( SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ) ) ) ;", "question_template": "how many states have a higher point than the highest point of the state with the largest capital city in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "how many states have a higher point than the highest point of the state with the largest capital city in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select count( highlowalias0.state_name ) from highlow as highlowalias0 where highlowalias0.highest_elevation > ( select highlowalias1.highest_elevation from highlow as highlowalias1 where highlowalias1.state_name = ( select statealias0.state_name from state as statealias0 where statealias0.capital = ( select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ) ) ) ;", "id": 194}, {"question-split": "test", "question": "name the major rivers in florida", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"florida\" ;", "sentence_variables": [{"key": "state_name0", "value": "florida"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "name the major rivers in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "name the major rivers in florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length > 750 and riveralias0.traverse = \"florida\" ;", "id": 195}, {"question-split": "test", "question": "what are the major rivers in florida", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"florida\" ;", "sentence_variables": [{"key": "state_name0", "value": "ohio"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.TRAVERSE = \"state_name0\" ;", "question_template": "what are the major rivers in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "florida", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_in": "what are the major rivers in florida | geoquery | border_info : state_name ( florida ) , border ( florida ) | city : city_name , population , country_name , state_name ( florida ) | highlow : state_name ( florida ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( florida ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( florida ) | state : state_name ( florida ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length > 750 and riveralias0.traverse = \"florida\" ;", "id": 196}, {"question-split": "test", "question": "through which states does the longest river in texas run", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) ;", "question_template": "through which states does the longest river in state_name0 run", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "through which states does the longest river in texas run | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse = \"texas\" ) ;", "id": 197}, {"question-split": "test", "question": "what are the capital city in texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the capital city in state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are the capital city in texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 198}, {"question-split": "test", "question": "what is the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 199}, {"question-split": "test", "question": "what is the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "colorado"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 200}, {"question-split": "test", "question": "what is the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "illinois"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 201}, {"question-split": "test", "question": "what is the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "iowa"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 202}, {"question-split": "test", "question": "what is the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "massachusetts"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 203}, {"question-split": "test", "question": "what is the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "new jersey"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 204}, {"question-split": "test", "question": "what is the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 205}, {"question-split": "test", "question": "what is the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "north dakota"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 206}, {"question-split": "test", "question": "what is the capital of texas", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "ohio"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 207}, {"question-split": "test", "question": "what is the capital of the texas state", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "florida"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the capital of the state_name0 state", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what is the capital of the texas state | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name = \"texas\" ;", "id": 208}, {"question-split": "test", "question": "what are the capitals of states that border missouri", "query": "SELECT STATEalias0.CAPITAL FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"missouri\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "missouri"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what are the capitals of states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "missouri", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( missouri ) , border ( missouri ) | city : city_name , population , country_name , state_name ( missouri ) | highlow : state_name ( missouri ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( missouri ) , length , country_name , traverse ( missouri ) | state : state_name ( missouri ) , population , area , country_name , capital , density", "seq_in": "what are the capitals of states that border missouri | geoquery | border_info : state_name ( missouri ) , border ( missouri ) | city : city_name , population , country_name , state_name ( missouri ) | highlow : state_name ( missouri ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( missouri ) , length , country_name , traverse ( missouri ) | state : state_name ( missouri ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"missouri\" and statealias0.state_name = border_infoalias0.border ;", "id": 209}, {"question-split": "test", "question": "what are the cities in states through which the mississippi runs", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the cities in states through which the river_name0 runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the cities in states through which the mississippi runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 210}, {"question-split": "test", "question": "what are the cities of the state with the highest point", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME IN ( SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME IN ( SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ) ;", "question_template": "what are the cities of the state with the highest point", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the cities of the state with the highest point | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name in ( select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ) ;", "id": 211}, {"question-split": "test", "question": "what are the highest points of all the states", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 ;", "question_template": "what are the highest points of all the states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the highest points of all the states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 ;", "id": 212}, {"question-split": "test", "question": "what are the major cities in alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "alabama"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the major cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "what are the major cities in alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 213}, {"question-split": "test", "question": "what are the major cities in alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the major cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "what are the major cities in alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 214}, {"question-split": "test", "question": "what are the major cities in alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the major cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "what are the major cities in alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 215}, {"question-split": "test", "question": "what are the major cities in the state of alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the major cities in the state of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "what are the major cities in the state of alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 216}, {"question-split": "test", "question": "what are the major cities in alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "vermont"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the major cities in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "what are the major cities in alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 217}, {"question-split": "test", "question": "what major cities are located in alabama", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"alabama\" ;", "sentence_variables": [{"key": "state_name0", "value": "pennsylvania"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what major cities are located in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alabama", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_in": "what major cities are located in alabama | geoquery | border_info : state_name ( alabama ) , border ( alabama ) | city : city_name , population , country_name , state_name ( alabama ) | highlow : state_name ( alabama ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( alabama ) | state : state_name ( alabama ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"alabama\" ;", "id": 218}, {"question-split": "test", "question": "what are the major cities in states through which the mississippi runs", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 AND RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the major cities in states through which the river_name0 runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the major cities in states through which the mississippi runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.length > 750 and riveralias0.river_name = \"mississippi\" ) ;", "id": 219}, {"question-split": "test", "question": "what are the major cities in the usa", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 ;", "question_template": "what are the major cities in the usa", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what are the major cities in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population > 150000 ;", "id": 220}, {"question-split": "test", "question": "what are the population densities of each us state", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 ;", "question_template": "what are the population densities of each us state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what are the population densities of each us state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 ;", "id": 221}, {"question-split": "test", "question": "what are the populations of states through which the mississippi river run", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the populations of states through which the river_name0 river run", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the populations of states through which the mississippi river run | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 222}, {"question-split": "test", "question": "what are the populations of states through which the mississippi runs", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what are the populations of states through which the river_name0 runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what are the populations of states through which the mississippi runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ;", "id": 223}, {"question-split": "test", "question": "what are the populations of states which border texas", "query": "SELECT STATEalias0.POPULATION FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.POPULATION FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what are the populations of states which border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are the populations of states which border texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"texas\" and statealias0.state_name = border_infoalias0.border ;", "id": 224}, {"question-split": "test", "question": "what are the populations of the major cities of texas", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"texas\" ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 AND CITYalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what are the populations of the major cities of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what are the populations of the major cities of texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.population > 150000 and cityalias0.state_name = \"texas\" ;", "id": 225}, {"question-split": "test", "question": "what city has the most people", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what city has the most people", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what city has the most people | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 226}, {"question-split": "test", "question": "what city in the united states has the highest population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what city in the united states has the highest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what city in the united states has the highest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 227}, {"question-split": "test", "question": "what is the most populous city", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what is the most populous city", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the most populous city | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 228}, {"question-split": "test", "question": "which us city has the highest population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "which us city has the highest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which us city has the highest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 ) ;", "id": 229}, {"question-split": "test", "question": "what is capital of the state with the lowest point", "query": "SELECT STATEalias0.CAPITAL FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM HIGHLOW AS HIGHLOWalias0 , STATE AS STATEalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) AND STATEalias0.STATE_NAME = HIGHLOWalias0.STATE_NAME ;", "question_template": "what is capital of the state with the lowest point", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is capital of the state with the lowest point | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from highlow as highlowalias0, state as statealias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) and statealias0.state_name = highlowalias0.state_name ;", "id": 230}, {"question-split": "test", "question": "what is the biggest american city in a state with a river", "query": "SELECT DISTINCT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 , RIVER AS RIVERalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = CITYalias1.STATE_NAME ) AND RIVERalias0.TRAVERSE = CITYalias0.STATE_NAME ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 , RIVER AS RIVERalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = CITYalias1.STATE_NAME ) AND RIVERalias0.TRAVERSE = CITYalias0.STATE_NAME ;", "question_template": "what is the biggest american city in a state with a river", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the biggest american city in a state with a river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct cityalias0.city_name from city as cityalias0, river as riveralias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, river as riveralias1 where riveralias1.traverse = cityalias1.state_name ) and riveralias0.traverse = cityalias0.state_name ;", "id": 231}, {"question-split": "test", "question": "what is the biggest capital city in the us", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "what is the biggest capital city in the us", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the biggest capital city in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 232}, {"question-split": "test", "question": "what is the largest capital city in the usa", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "what is the largest capital city in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the largest capital city in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 233}, {"question-split": "test", "question": "what is the capital of states that have cities named durham", "query": "SELECT STATEalias0.CAPITAL FROM CITY AS CITYalias0 , STATE AS STATEalias0 WHERE CITYalias0.CITY_NAME = \"durham\" AND STATEalias0.STATE_NAME = CITYalias0.STATE_NAME ;", "sentence_variables": [{"key": "city_name0", "value": "durham"}], "sql_template": "SELECT STATEalias0.CAPITAL FROM CITY AS CITYalias0 , STATE AS STATEalias0 WHERE CITYalias0.CITY_NAME = \"city_name0\" AND STATEalias0.STATE_NAME = CITYalias0.STATE_NAME ;", "question_template": "what is the capital of states that have cities named city_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "durham", "location": "both", "name": "city_name0", "type": "city_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( durham ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of states that have cities named durham | geoquery | border_info : state_name , border | city : city_name ( durham ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from city as cityalias0, state as statealias0 where cityalias0.city_name = \"durham\" and statealias0.state_name = cityalias0.state_name ;", "id": 234}, {"question-split": "test", "question": "what is the capital of the smallest state", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the capital of the smallest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of the smallest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 235}, {"question-split": "test", "question": "what is the capital of the state with the largest population density", "query": "SELECT DISTINCT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the capital of the state with the largest population density", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of the state with the largest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct statealias0.capital from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 236}, {"question-split": "test", "question": "what is the capital of the state with the largest population", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the capital of the state with the largest population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of the state with the largest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 237}, {"question-split": "test", "question": "what is the capital of the state with the most inhabitants", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the capital of the state with the most inhabitants", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of the state with the most inhabitants | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ;", "id": 238}, {"question-split": "test", "question": "what is the capital of the state with the longest river", "query": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.CAPITAL FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ) ;", "question_template": "what is the capital of the state with the longest river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the capital of the state with the longest river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.capital from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ) ;", "id": 239}, {"question-split": "test", "question": "what is the combined area of all 50 states", "query": "SELECT SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "sentence_variables": [], "sql_template": "SELECT SUM( STATEalias0.AREA ) FROM STATE AS STATEalias0 ;", "question_template": "what is the combined area of all 50 states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the combined area of all 50 states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select sum( statealias0.area ) from state as statealias0 ;", "id": 240}, {"question-split": "test", "question": "what is the density of the new york", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "new york"}], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the density of the state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "what is the density of the new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 where statealias0.state_name = \"new york\" ;", "id": 241}, {"question-split": "test", "question": "what is the population density of new york", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"new york\" ;", "sentence_variables": [{"key": "state_name0", "value": "maine"}], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the population density of state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "new york", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_in": "what is the population density of new york | geoquery | border_info : state_name ( new york ) , border ( new york ) | city : city_name ( new york ) , population , country_name , state_name ( new york ) | highlow : state_name ( new york ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( new york ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( new york ) | state : state_name ( new york ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 where statealias0.state_name = \"new york\" ;", "id": 242}, {"question-split": "test", "question": "what is the highest mountain in the us", "query": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "question_template": "what is the highest mountain in the us", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest mountain in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.mountain_name from mountain as mountainalias0 where mountainalias0.mountain_altitude = ( select max( mountainalias1.mountain_altitude ) from mountain as mountainalias1 ) ;", "id": 243}, {"question-split": "test", "question": "what is the highest mountain in us", "query": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "question_template": "what is the highest mountain in us", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest mountain in us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.mountain_name from mountain as mountainalias0 where mountainalias0.mountain_altitude = ( select max( mountainalias1.mountain_altitude ) from mountain as mountainalias1 ) ;", "id": 244}, {"question-split": "test", "question": "what is the highest point in the state with capital austin", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ) ;", "sentence_variables": [{"key": "capital0", "value": "austin"}], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ) ;", "question_template": "what is the highest point in the state with capital capital0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "what is the highest point in the state with capital austin | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.capital = \"austin\" ) ;", "id": 245}, {"question-split": "test", "question": "what is the highest point in the usa", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the highest point in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the highest point in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 246}, {"question-split": "test", "question": "what is the highest point of the usa", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the highest point of the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the highest point of the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 247}, {"question-split": "test", "question": "what is the highest point of the state with the smallest population density", "query": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.HIGHEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MIN( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what is the highest point of the state with the smallest population density", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the highest point of the state with the smallest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.highest_point from highlow as highlowalias0 where highlowalias0.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.density = ( select min( statealias1.density ) from state as statealias1 ) ) ;", "id": 248}, {"question-split": "test", "question": "what is the largest city in smallest state through which the mississippi runs", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"mississippi\" ) AND STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ) ) ORDER BY CITYalias0.POPULATION DESC LIMIT 1 ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"river_name0\" ) AND STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ) ) ORDER BY CITYalias0.POPULATION DESC LIMIT 1 ;", "question_template": "what is the largest city in smallest state through which the river_name0 runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what is the largest city in smallest state through which the mississippi runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select riveralias1.traverse from river as riveralias1 where riveralias1.river_name = \"mississippi\" ) and statealias0.area = ( select min( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ) ) order by cityalias0.population desc limit 1 ;", "id": 249}, {"question-split": "test", "question": "what is the largest city in the smallest state in the usa", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MIN( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MIN( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "question_template": "what is the largest city in the smallest state in the usa", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the largest city in the smallest state in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ) ) and cityalias0.state_name in ( select statealias2.state_name from state as statealias2 where statealias2.area = ( select min( statealias3.area ) from state as statealias3 ) ) ;", "id": 250}, {"question-split": "test", "question": "what is the largest state bordering arkansas", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"arkansas\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"arkansas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "arkansas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the largest state bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the largest state bordering arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"arkansas\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"arkansas\" ) ;", "id": 251}, {"question-split": "test", "question": "what is the largest state bordering arkansas", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"arkansas\" ) ORDER BY STATEalias0.AREA DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "arkansas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ORDER BY STATEalias0.AREA DESC LIMIT 1 ;", "question_template": "what is the largest state bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the largest state bordering arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"arkansas\" ) order by statealias0.area desc limit 1 ;", "id": 252}, {"question-split": "test", "question": "what is the largest state bordering arkansas", "query": "SELECT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"arkansas\" AND STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"arkansas\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "arkansas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what is the largest state bordering state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the largest state bordering arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"arkansas\" and statealias0.area = ( select max( statealias1.area ) from border_info as border_infoalias1, state as statealias1 where border_infoalias1.state_name = \"arkansas\" and statealias1.state_name = border_infoalias1.border ) and statealias0.state_name = border_infoalias0.border ;", "id": 253}, {"question-split": "test", "question": "what is the largest state that borders arkansas", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"arkansas\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"arkansas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the largest state that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the largest state that borders arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"arkansas\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"arkansas\" ) ;", "id": 254}, {"question-split": "test", "question": "what is the largest state that borders arkansas", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"arkansas\" ) ORDER BY STATEalias0.AREA DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ORDER BY STATEalias0.AREA DESC LIMIT 1 ;", "question_template": "what is the largest state that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the largest state that borders arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"arkansas\" ) order by statealias0.area desc limit 1 ;", "id": 255}, {"question-split": "test", "question": "what is the largest state that borders arkansas", "query": "SELECT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"arkansas\" AND STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"arkansas\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what is the largest state that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the largest state that borders arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"arkansas\" and statealias0.area = ( select max( statealias1.area ) from border_info as border_infoalias1, state as statealias1 where border_infoalias1.state_name = \"arkansas\" and statealias1.state_name = border_infoalias1.border ) and statealias0.state_name = border_infoalias0.border ;", "id": 256}, {"question-split": "test", "question": "what is the length of the river that flows through the most states", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = ( SELECT RIVER_NAME FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias0 , RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 GROUP BY RIVERalias1.RIVER_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 , RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 GROUP BY RIVERalias2.RIVER_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = ( SELECT RIVER_NAME FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias0 , RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 GROUP BY RIVERalias1.RIVER_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 , RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 GROUP BY RIVERalias2.RIVER_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "question_template": "what is the length of the river that flows through the most states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the length of the river that flows through the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = ( select river_name from ( select count( 1 ) as derived_fieldalias0, riveralias1.river_name from river as riveralias1 group by riveralias1.river_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select count( 1 ) as derived_fieldalias1, riveralias2.river_name from river as riveralias2 group by riveralias2.river_name ) as derived_tablealias1 ) ) ;", "id": 257}, {"question-split": "test", "question": "what is the length of the river that runs through the most states", "query": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = ( SELECT RIVER_NAME FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias0 , RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 GROUP BY RIVERalias1.RIVER_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 , RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 GROUP BY RIVERalias2.RIVER_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = ( SELECT RIVER_NAME FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias0 , RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 GROUP BY RIVERalias1.RIVER_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 , RIVERalias2.RIVER_NAME FROM RIVER AS RIVERalias2 GROUP BY RIVERalias2.RIVER_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "question_template": "what is the length of the river that runs through the most states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the length of the river that runs through the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.length from river as riveralias0 where riveralias0.river_name = ( select river_name from ( select count( 1 ) as derived_fieldalias0, riveralias1.river_name from river as riveralias1 group by riveralias1.river_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select count( 1 ) as derived_fieldalias1, riveralias2.river_name from river as riveralias2 group by riveralias2.river_name ) as derived_tablealias1 ) ) ;", "id": 258}, {"question-split": "test", "question": "what is the longest river in the largest state", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND RIVERalias0.TRAVERSE IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MAX( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND RIVERalias0.TRAVERSE IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MAX( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "question_template": "what is the longest river in the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the longest river in the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse in ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ) ) and riveralias0.traverse in ( select statealias2.state_name from state as statealias2 where statealias2.area = ( select max( statealias3.area ) from state as statealias3 ) ) ;", "id": 259}, {"question-split": "test", "question": "what is the longest river in the states that border nebraska", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nebraska\" ) ) AND RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nebraska\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "nebraska"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the longest river in the states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nebraska", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_in": "what is the longest river in the states that border nebraska | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nebraska\" ) ) and riveralias0.traverse in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"nebraska\" ) ;", "id": 260}, {"question-split": "test", "question": "what is the longest river in the states that border nebraska", "query": "SELECT RIVERalias0.RIVER_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , RIVER AS RIVERalias0 WHERE BORDER_INFOalias0.BORDER = \"nebraska\" AND RIVERalias0.TRAVERSE = BORDER_INFOalias0.STATE_NAME ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "nebraska"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , RIVER AS RIVERalias0 WHERE BORDER_INFOalias0.BORDER = \"state_name0\" AND RIVERalias0.TRAVERSE = BORDER_INFOalias0.STATE_NAME ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "question_template": "what is the longest river in the states that border state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nebraska", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_in": "what is the longest river in the states that border nebraska | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from border_info as border_infoalias0, river as riveralias0 where border_infoalias0.border = \"nebraska\" and riveralias0.traverse = border_infoalias0.state_name order by riveralias0.length desc limit 1 ;", "id": 261}, {"question-split": "test", "question": "what is the longest river that flows through a state that borders nebraska", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nebraska\" ) ) AND RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nebraska\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "indiana"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the longest river that flows through a state that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nebraska", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_in": "what is the longest river that flows through a state that borders nebraska | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 where riveralias1.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nebraska\" ) ) and riveralias0.traverse in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"nebraska\" ) ;", "id": 262}, {"question-split": "test", "question": "what is the longest river that flows through a state that borders nebraska", "query": "SELECT RIVERalias0.RIVER_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , RIVER AS RIVERalias0 WHERE BORDER_INFOalias0.BORDER = \"nebraska\" AND RIVERalias0.TRAVERSE = BORDER_INFOalias0.STATE_NAME ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "indiana"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , RIVER AS RIVERalias0 WHERE BORDER_INFOalias0.BORDER = \"state_name0\" AND RIVERalias0.TRAVERSE = BORDER_INFOalias0.STATE_NAME ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "question_template": "what is the longest river that flows through a state that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nebraska", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_in": "what is the longest river that flows through a state that borders nebraska | geoquery | border_info : state_name ( nebraska ) , border ( nebraska ) | city : city_name , population , country_name , state_name ( nebraska ) | highlow : state_name ( nebraska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nebraska ) | state : state_name ( nebraska ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from border_info as border_infoalias0, river as riveralias0 where border_infoalias0.border = \"nebraska\" and riveralias0.traverse = border_infoalias0.state_name order by riveralias0.length desc limit 1 ;", "id": 263}, {"question-split": "test", "question": "what is the longest river in the state with the most major cities", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = ( SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 GROUP BY CITYalias0.STATE_NAME ORDER BY COUNT( CITYalias0.CITY_NAME ) DESC LIMIT 1 ) ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE = ( SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 GROUP BY CITYalias0.STATE_NAME ORDER BY COUNT( CITYalias0.CITY_NAME ) DESC LIMIT 1 ) ORDER BY RIVERalias0.LENGTH DESC LIMIT 1 ;", "question_template": "what is the longest river in the state with the most major cities", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the longest river in the state with the most major cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse = ( select cityalias0.state_name from city as cityalias0 where cityalias0.population > 150000 group by cityalias0.state_name order by count( cityalias0.city_name ) desc limit 1 ) order by riveralias0.length desc limit 1 ;", "id": 264}, {"question-split": "test", "question": "what is the lowest point in arkansas", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"arkansas\" ;", "sentence_variables": [{"key": "state_name0", "value": "arkansas"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the lowest point in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the lowest point in arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name = \"arkansas\" ;", "id": 265}, {"question-split": "test", "question": "what is the lowest point in arkansas", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"arkansas\" ;", "sentence_variables": [{"key": "state_name0", "value": "massachusetts"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the lowest point in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the lowest point in arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name = \"arkansas\" ;", "id": 266}, {"question-split": "test", "question": "what is the lowest point in arkansas", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"arkansas\" ;", "sentence_variables": [{"key": "state_name0", "value": "mississippi"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the lowest point in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the lowest point in arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name = \"arkansas\" ;", "id": 267}, {"question-split": "test", "question": "what is the lowest point in arkansas in meters", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"arkansas\" ;", "sentence_variables": [{"key": "state_name0", "value": "nebraska"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the lowest point in state_name0 in meters", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the lowest point in arkansas in meters | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name = \"arkansas\" ;", "id": 268}, {"question-split": "test", "question": "what is the lowest point in the state of arkansas", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"arkansas\" ;", "sentence_variables": [{"key": "state_name0", "value": "california"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "what is the lowest point in the state of state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "what is the lowest point in the state of arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name = \"arkansas\" ;", "id": 269}, {"question-split": "test", "question": "where is the lowest point in arkansas", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"arkansas\" ;", "sentence_variables": [{"key": "state_name0", "value": "maryland"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME = \"state_name0\" ;", "question_template": "where is the lowest point in state_name0", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "arkansas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_in": "where is the lowest point in arkansas | geoquery | border_info : state_name ( arkansas ) , border ( arkansas ) | city : city_name , population , country_name , state_name ( arkansas ) | highlow : state_name ( arkansas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( arkansas ) , length , country_name , traverse ( arkansas ) | state : state_name ( arkansas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name = \"arkansas\" ;", "id": 270}, {"question-split": "test", "question": "what is the lowest point in usa", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "what is the lowest point in usa", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the lowest point in usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) ;", "id": 271}, {"question-split": "test", "question": "what is the lowest point of all states through which the colorado river runs through", "query": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ) ORDER BY HIGHLOWalias0.LOWEST_ELEVATION LIMIT 1 ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT HIGHLOWalias0.LOWEST_POINT FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ORDER BY HIGHLOWalias0.LOWEST_ELEVATION LIMIT 1 ;", "question_template": "what is the lowest point of all states through which the river_name0 river runs through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what is the lowest point of all states through which the colorado river runs through | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.lowest_point from highlow as highlowalias0 where highlowalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ) order by highlowalias0.lowest_elevation limit 1 ;", "id": 272}, {"question-split": "test", "question": "what is the most dense state in the usa", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the most dense state in the usa", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the most dense state in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 273}, {"question-split": "test", "question": "which state has the highest population density", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state has the highest population density", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the highest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 274}, {"question-split": "test", "question": "what is the most populous state through which the mississippi runs", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what is the most populous state through which the river_name0 runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what is the most populous state through which the mississippi runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 where statealias1.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ) and statealias0.state_name in ( select riveralias1.traverse from river as riveralias1 where riveralias1.river_name = \"mississippi\" ) ;", "id": 275}, {"question-split": "test", "question": "what is the most populous state through which the mississippi runs", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "question_template": "what is the most populous state through which the river_name0 runs", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what is the most populous state through which the mississippi runs | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) order by statealias0.population desc limit 1 ;", "id": 276}, {"question-split": "test", "question": "what is the population density of the largest state", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the population density of the largest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population density of the largest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ;", "id": 277}, {"question-split": "test", "question": "what is the population of the largest city in the state with the largest area", "query": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MAX( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.POPULATION FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 WHERE CITYalias1.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MAX( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ) AND CITYalias0.STATE_NAME IN ( SELECT STATEalias2.STATE_NAME FROM STATE AS STATEalias2 WHERE STATEalias2.AREA = ( SELECT MAX( STATEalias3.AREA ) FROM STATE AS STATEalias3 ) ) ;", "question_template": "what is the population of the largest city in the state with the largest area", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of the largest city in the state with the largest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.population from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1 where cityalias1.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select max( statealias1.area ) from state as statealias1 ) ) ) and cityalias0.state_name in ( select statealias2.state_name from state as statealias2 where statealias2.area = ( select max( statealias3.area ) from state as statealias3 ) ) ;", "id": 278}, {"question-split": "test", "question": "what is the population of the smallest state", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the population of the smallest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of the smallest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 279}, {"question-split": "test", "question": "what is the population of the state that borders the most states", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "question_template": "what is the population of the state that borders the most states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of the state that borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 group by border_infoalias0.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias1.border, count( 1 ) as derived_fieldalias0 from border_info as border_infoalias1 group by border_infoalias1.border ) as derived_tablealias0 ) ) ;", "id": 280}, {"question-split": "test", "question": "what is the population of the state with the highest population density", "query": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.POPULATION FROM STATE AS STATEalias0 WHERE STATEalias0.DENSITY = ( SELECT MAX( STATEalias1.DENSITY ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the population of the state with the highest population density", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the population of the state with the highest population density | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.population from state as statealias0 where statealias0.density = ( select max( statealias1.density ) from state as statealias1 ) ;", "id": 281}, {"question-split": "test", "question": "what is the smallest city in the usa", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what is the smallest city in the usa", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the smallest city in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select min( cityalias1.population ) from city as cityalias1 ) ;", "id": 282}, {"question-split": "test", "question": "what is the smallest city in the us", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "what is the smallest city in the us", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the smallest city in the us | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select min( cityalias1.population ) from city as cityalias1 ) ;", "id": 283}, {"question-split": "test", "question": "what is the smallest state that borders the most states", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT BORDER_INFOalias0.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias0.BORDER ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT BORDER_INFOalias1.STATE_NAME , COUNT( DISTINCT BORDER_INFOalias1.BORDER ) AS DERIVED_FIELDalias1 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ) ;", "question_template": "what is the smallest state that borders the most states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the smallest state that borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select derived_tablealias0.state_name from ( select border_infoalias0.state_name, count( distinct border_infoalias0.border ) as derived_fieldalias0 from border_info as border_infoalias0 group by border_infoalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select border_infoalias1.state_name, count( distinct border_infoalias1.border ) as derived_fieldalias1 from border_info as border_infoalias1 group by border_infoalias1.state_name ) as derived_tablealias1 ) ) ) ;", "id": 284}, {"question-split": "test", "question": "what is the smallest state bordering wyoming", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"wyoming\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"wyoming\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "wyoming"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what is the smallest state bordering state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "wyoming", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( wyoming ) , border ( wyoming ) | city : city_name ( wyoming ) , population , country_name , state_name ( wyoming ) | highlow : state_name ( wyoming ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( wyoming ) | state : state_name ( wyoming ) , population , area , country_name , capital , density", "seq_in": "what is the smallest state bordering wyoming | geoquery | border_info : state_name ( wyoming ) , border ( wyoming ) | city : city_name ( wyoming ) , population , country_name , state_name ( wyoming ) | highlow : state_name ( wyoming ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( wyoming ) | state : state_name ( wyoming ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"wyoming\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"wyoming\" ) ;", "id": 285}, {"question-split": "test", "question": "what is the smallest state that the mississippi river runs through", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"mississippi\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "mississippi"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT RIVERalias1.TRAVERSE FROM RIVER AS RIVERalias1 WHERE RIVERalias1.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what is the smallest state that the river_name0 river runs through", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what is the smallest state that the mississippi river runs through | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point ( mississippi river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 where statealias1.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"mississippi\" ) ) and statealias0.state_name in ( select riveralias1.traverse from river as riveralias1 where riveralias1.river_name = \"mississippi\" ) ;", "id": 286}, {"question-split": "test", "question": "what is the state with the smallest area", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "what is the state with the smallest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what is the state with the smallest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 287}, {"question-split": "test", "question": "which is the smallest state", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "which is the smallest state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which is the smallest state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 288}, {"question-split": "test", "question": "which state is the smallest", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ;", "question_template": "which state is the smallest", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state is the smallest | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ;", "id": 289}, {"question-split": "test", "question": "what is the total length of all rivers in the usa", "query": "SELECT SUM( DERIVED_TABLEalias0.LENGTH ) FROM ( SELECT DISTINCT RIVERalias0.RIVER_NAME , RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 ) AS DERIVED_TABLEalias0 ;", "sentence_variables": [], "sql_template": "SELECT SUM( DERIVED_TABLEalias0.LENGTH ) FROM ( SELECT DISTINCT RIVERalias0.RIVER_NAME , RIVERalias0.LENGTH FROM RIVER AS RIVERalias0 ) AS DERIVED_TABLEalias0 ;", "question_template": "what is the total length of all rivers in the usa", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "what is the total length of all rivers in the usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select sum( derived_tablealias0.length ) from ( select distinct riveralias0.river_name, riveralias0.length from river as riveralias0 ) as derived_tablealias0 ;", "id": 290}, {"question-split": "test", "question": "what river flows through the most states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "question_template": "what river flows through the most states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what river flows through the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 group by ( riveralias0.river_name ) order by count( distinct riveralias0.traverse ) desc limit 1 ;", "id": 291}, {"question-split": "test", "question": "which river goes through the most states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "question_template": "which river goes through the most states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which river goes through the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 group by ( riveralias0.river_name ) order by count( distinct riveralias0.traverse ) desc limit 1 ;", "id": 292}, {"question-split": "test", "question": "which river runs through most states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "question_template": "which river runs through most states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which river runs through most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 group by ( riveralias0.river_name ) order by count( distinct riveralias0.traverse ) desc limit 1 ;", "id": 293}, {"question-split": "test", "question": "which river traverses most states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 GROUP BY ( RIVERalias0.RIVER_NAME ) ORDER BY COUNT( DISTINCT RIVERalias0.TRAVERSE ) DESC LIMIT 1 ;", "question_template": "which river traverses most states", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which river traverses most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 group by ( riveralias0.river_name ) order by count( distinct riveralias0.traverse ) desc limit 1 ;", "id": 294}, {"question-split": "test", "question": "what river runs through the state with the most cities", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "question_template": "what river runs through the state with the most cities", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what river runs through the state with the most cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select derived_tablealias0.state_name from ( select cityalias0.state_name, count( 1 ) as derived_fieldalias0 from city as cityalias0 group by cityalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select count( 1 ) as derived_fieldalias1 from city as cityalias1 group by cityalias1.state_name ) as derived_tablealias1 ) ) ;", "id": 295}, {"question-split": "test", "question": "what rivers are in states that border texas", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ;", "question_template": "what rivers are in states that border state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what rivers are in states that border texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"texas\" ) ;", "id": 296}, {"question-split": "test", "question": "what rivers traverses the state which borders the most states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "question_template": "what rivers traverses the state which borders the most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what rivers traverses the state which borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 group by border_infoalias0.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias1.border, count( 1 ) as derived_fieldalias0 from border_info as border_infoalias1 group by border_infoalias1.border ) as derived_tablealias0 ) ) ;", "id": 297}, {"question-split": "test", "question": "what river traverses the state which borders the most states", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 GROUP BY BORDER_INFOalias0.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias1.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "question_template": "what river traverses the state which borders the most states", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what river traverses the state which borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 group by border_infoalias0.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias1.border, count( 1 ) as derived_fieldalias0 from border_info as border_infoalias1 group by border_infoalias1.border ) as derived_tablealias0 ) ) ;", "id": 298}, {"question-split": "test", "question": "what state bordering nevada has the largest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "nevada"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "question_template": "what state bordering state_name0 has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "what state bordering nevada has the largest population | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nevada\" ) order by statealias0.population desc limit 1 ;", "id": 299}, {"question-split": "test", "question": "what state bordering nevada has the largest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nevada\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "nevada"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what state bordering state_name0 has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "what state bordering nevada has the largest population | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nevada\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"nevada\" ) ;", "id": 300}, {"question-split": "test", "question": "what state bordering nevada has the largest population", "query": "SELECT DISTINCT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" AND STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nevada\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "nevada"}], "sql_template": "SELECT DISTINCT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what state bordering state_name0 has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "what state bordering nevada has the largest population | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct statealias0.state_name from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"nevada\" and statealias0.population = ( select max( statealias1.population ) from border_info as border_infoalias1, state as statealias1 where border_infoalias1.state_name = \"nevada\" and statealias1.state_name = border_infoalias1.border ) and statealias0.state_name = border_infoalias0.border ;", "id": 301}, {"question-split": "test", "question": "which of the states bordering nevada has the largest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "sentence_variables": [{"key": "state_name0", "value": "pennsylvania"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ORDER BY STATEalias0.POPULATION DESC LIMIT 1 ;", "question_template": "which of the states bordering state_name0 has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "which of the states bordering nevada has the largest population | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nevada\" ) order by statealias0.population desc limit 1 ;", "id": 302}, {"question-split": "test", "question": "which of the states bordering nevada has the largest population", "query": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nevada\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "pennsylvania"}], "sql_template": "SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 WHERE STATEalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND STATEalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "which of the states bordering state_name0 has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "which of the states bordering nevada has the largest population | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 where statealias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"nevada\" ) ) and statealias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"nevada\" ) ;", "id": 303}, {"question-split": "test", "question": "which of the states bordering nevada has the largest population", "query": "SELECT DISTINCT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"nevada\" AND STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"nevada\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [{"key": "state_name0", "value": "pennsylvania"}], "sql_template": "SELECT DISTINCT STATEalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" AND STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM BORDER_INFO AS BORDER_INFOalias1 , STATE AS STATEalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" AND STATEalias1.STATE_NAME = BORDER_INFOalias1.BORDER ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "which of the states bordering state_name0 has the largest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "nevada", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_in": "which of the states bordering nevada has the largest population | geoquery | border_info : state_name ( nevada ) , border ( nevada ) | city : city_name , population , country_name , state_name ( nevada ) | highlow : state_name ( nevada ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( nevada ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( nevada ) | state : state_name ( nevada ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct statealias0.state_name from border_info as border_infoalias0, state as statealias0 where border_infoalias0.state_name = \"nevada\" and statealias0.population = ( select max( statealias1.population ) from border_info as border_infoalias1, state as statealias1 where border_infoalias1.state_name = \"nevada\" and statealias1.state_name = border_infoalias1.border ) and statealias0.state_name = border_infoalias0.border ;", "id": 304}, {"question-split": "test", "question": "what state contains the highest point of those the colorado river traverses", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"colorado\" ) ) ;", "sentence_variables": [{"key": "river_name0", "value": "colorado"}], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ) ;", "question_template": "what state contains the highest point of those the river_name0 river traverses", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "colorado", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_in": "what state contains the highest point of those the colorado river traverses | geoquery | border_info : state_name ( colorado ) , border ( colorado ) | city : city_name , population , country_name , state_name ( colorado ) | highlow : state_name ( colorado ) , highest_elevation , lowest_point ( colorado river ) , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name ( colorado ) | river : river_name ( colorado ) , length , country_name , traverse ( colorado ) | state : state_name ( colorado ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 where highlowalias1.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"colorado\" ) ) ;", "id": 305}, {"question-split": "test", "question": "what state has the largest capital", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "what state has the largest capital", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the largest capital | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 306}, {"question-split": "test", "question": "which state 's capital city is the largest", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MAX( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "which state 's capital city is the largest", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state 's capital city is the largest | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select max( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 307}, {"question-split": "test", "question": "what state has the longest river", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( DISTINCT RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( DISTINCT RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ;", "question_template": "what state has the longest river", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the longest river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( distinct riveralias1.length ) from river as riveralias1 ) ;", "id": 308}, {"question-split": "test", "question": "what state has the most major cities", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 GROUP BY CITYalias0.STATE_NAME ORDER BY COUNT( 1 ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 GROUP BY CITYalias0.STATE_NAME ORDER BY COUNT( 1 ) DESC LIMIT 1 ;", "question_template": "what state has the most major cities", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the most major cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population > 150000 group by cityalias0.state_name order by count( 1 ) desc limit 1 ;", "id": 309}, {"question-split": "test", "question": "which state has the most major cities", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 GROUP BY CITYalias0.STATE_NAME ORDER BY COUNT( 1 ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 GROUP BY CITYalias0.STATE_NAME ORDER BY COUNT( 1 ) DESC LIMIT 1 ;", "question_template": "which state has the most major cities", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the most major cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population > 150000 group by cityalias0.state_name order by count( 1 ) desc limit 1 ;", "id": 310}, {"question-split": "test", "question": "what state has the smallest urban population", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ORDER BY SUM( CITYalias0.POPULATION ) LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ORDER BY SUM( CITYalias0.POPULATION ) LIMIT 1 ;", "question_template": "what state has the smallest urban population", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the smallest urban population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 group by cityalias0.state_name order by sum( cityalias0.population ) limit 1 ;", "id": 311}, {"question-split": "test", "question": "what states border states that border mississippi", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"mississippi\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "mississippi"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "what states border states that border state_name0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mississippi", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_in": "what states border states that border mississippi | geoquery | border_info : state_name ( mississippi ) , border ( mississippi ) | city : city_name , population , country_name , state_name ( mississippi ) | highlow : state_name ( mississippi ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( mississippi ) , length , country_name , traverse ( mississippi ) | state : state_name ( mississippi ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"mississippi\" ) ;", "id": 312}, {"question-split": "test", "question": "what states border states that the ohio runs through", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"ohio\" ) ;", "sentence_variables": [{"key": "river_name0", "value": "ohio"}], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME = \"river_name0\" ) ;", "question_template": "what states border states that the river_name0 runs through", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "ohio", "location": "both", "name": "river_name0", "type": "river_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( ohio ) , border ( ohio ) | city : city_name , population , country_name , state_name ( ohio ) | highlow : state_name ( ohio ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( ohio ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( ohio ) , length , country_name , traverse ( ohio ) | state : state_name ( ohio ) , population , area , country_name , capital , density", "seq_in": "what states border states that the ohio runs through | geoquery | border_info : state_name ( ohio ) , border ( ohio ) | city : city_name , population , country_name , state_name ( ohio ) | highlow : state_name ( ohio ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( ohio ) | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name ( ohio ) , length , country_name , traverse ( ohio ) | state : state_name ( ohio ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.river_name = \"ohio\" ) ;", "id": 313}, {"question-split": "test", "question": "what states border texas and have a major river", "query": "SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER = \"texas\" AND BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.BORDER = \"state_name0\" AND BORDER_INFOalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ) ;", "question_template": "what states border state_name0 and have a major river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "what states border texas and have a major river | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.state_name from border_info as border_infoalias0 where border_infoalias0.border = \"texas\" and border_infoalias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.length > 750 ) ;", "id": 314}, {"question-split": "test", "question": "what states border the most populous state", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what states border the most populous state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states border the most populous state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = ( select statealias0.state_name from state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) ) ;", "id": 315}, {"question-split": "test", "question": "what states border the most populous state", "query": "SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.STATE_NAME FROM BORDER_INFO AS BORDER_INFOalias0 , STATE AS STATEalias0 WHERE STATEalias0.POPULATION = ( SELECT MAX( STATEalias1.POPULATION ) FROM STATE AS STATEalias1 ) AND STATEalias0.STATE_NAME = BORDER_INFOalias0.BORDER ;", "question_template": "what states border the most populous state", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states border the most populous state | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.state_name from border_info as border_infoalias0, state as statealias0 where statealias0.population = ( select max( statealias1.population ) from state as statealias1 ) and statealias0.state_name = border_infoalias0.border ;", "id": 316}, {"question-split": "test", "question": "what states border the state that borders the most states", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias2.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias2 GROUP BY BORDER_INFOalias2.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 GROUP BY BORDER_INFOalias1.BORDER HAVING COUNT( 1 ) = ( SELECT MAX( DERIVED_TABLEalias0.DERIVED_FIELDalias0 ) FROM ( SELECT BORDER_INFOalias2.BORDER , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM BORDER_INFO AS BORDER_INFOalias2 GROUP BY BORDER_INFOalias2.BORDER ) AS DERIVED_TABLEalias0 ) ) ;", "question_template": "what states border the state that borders the most states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states border the state that borders the most states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 group by border_infoalias1.border having count( 1 ) = ( select max( derived_tablealias0.derived_fieldalias0 ) from ( select border_infoalias2.border, count( 1 ) as derived_fieldalias0 from border_info as border_infoalias2 group by border_infoalias2.border ) as derived_tablealias0 ) ) ;", "id": 317}, {"question-split": "test", "question": "what states border the state with the most cities", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "question_template": "what states border the state with the most cities", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states border the state with the most cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select derived_tablealias0.state_name from ( select cityalias0.state_name, count( 1 ) as derived_fieldalias0 from city as cityalias0 group by cityalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select count( 1 ) as derived_fieldalias1 from city as cityalias1 group by cityalias1.state_name ) as derived_tablealias1 ) ) ;", "id": 318}, {"question-split": "test", "question": "what states border the state with the most major cities", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 WHERE CITYalias1.POPULATION > 150000 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION > 150000 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MAX( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 WHERE CITYalias1.POPULATION > 150000 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "question_template": "what states border the state with the most major cities", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states border the state with the most major cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select derived_tablealias0.state_name from ( select cityalias0.state_name, count( 1 ) as derived_fieldalias0 from city as cityalias0 where cityalias0.population > 150000 group by cityalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select max( derived_tablealias1.derived_fieldalias1 ) from ( select count( 1 ) as derived_fieldalias1 from city as cityalias1 where cityalias1.population > 150000 group by cityalias1.state_name ) as derived_tablealias1 ) ) ;", "id": 319}, {"question-split": "test", "question": "what states border the state with the smallest area", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "what states border the state with the smallest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states border the state with the smallest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ) ;", "id": 320}, {"question-split": "test", "question": "which states border the state with the smallest area", "query": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.AREA = ( SELECT MIN( STATEalias1.AREA ) FROM STATE AS STATEalias1 ) ) ;", "question_template": "which states border the state with the smallest area", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which states border the state with the smallest area | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = ( select statealias0.state_name from state as statealias0 where statealias0.area = ( select min( statealias1.area ) from state as statealias1 ) ) ;", "id": 321}, {"question-split": "test", "question": "what states contain at least one major rivers", "query": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 ;", "question_template": "what states contain at least one major rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what states contain at least one major rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.traverse from river as riveralias0 where riveralias0.length > 750 ;", "id": 322}, {"question-split": "test", "question": "where are mountains", "query": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 ;", "sentence_variables": [], "sql_template": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 ;", "question_template": "where are mountains", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "where are mountains | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.state_name from mountain as mountainalias0 ;", "id": 323}, {"question-split": "test", "question": "where is the highest mountain of the united states", "query": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 ) ;", "question_template": "where is the highest mountain of the united states", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "where is the highest mountain of the united states | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.state_name from mountain as mountainalias0 where mountainalias0.mountain_altitude = ( select max( mountainalias1.mountain_altitude ) from mountain as mountainalias1 ) ;", "id": 324}, {"question-split": "test", "question": "where is the smallest city", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 ) ;", "question_template": "where is the smallest city", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "where is the smallest city | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 where cityalias0.population = ( select min( cityalias1.population ) from city as cityalias1 ) ;", "id": 325}, {"question-split": "test", "question": "which is the density of the state that the largest river in the united states runs through", "query": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT STATEalias0.DENSITY FROM STATE AS STATEalias0 WHERE STATEalias0.STATE_NAME IN ( SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH = ( SELECT MAX( RIVERalias1.LENGTH ) FROM RIVER AS RIVERalias1 ) ) ;", "question_template": "which is the density of the state that the largest river in the united states runs through", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which is the density of the state that the largest river in the united states runs through | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select statealias0.density from state as statealias0 where statealias0.state_name in ( select riveralias0.traverse from river as riveralias0 where riveralias0.length = ( select max( riveralias1.length ) from river as riveralias1 ) ) ;", "id": 326}, {"question-split": "test", "question": "which is the highest peak not in alaska", "query": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 WHERE MOUNTAINalias1.STATE_NAME <> \"alaska\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "alaska"}], "sql_template": "SELECT MOUNTAINalias0.MOUNTAIN_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_ALTITUDE = ( SELECT MAX( MOUNTAINalias1.MOUNTAIN_ALTITUDE ) FROM MOUNTAIN AS MOUNTAINalias1 WHERE MOUNTAINalias1.STATE_NAME <> \"state_name0\" ) ;", "question_template": "which is the highest peak not in state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "alaska", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name ( alaska ) | highlow : state_name ( alaska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( alaska ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( alaska ) | river : river_name , length , country_name , traverse | state : state_name ( alaska ) , population , area , country_name , capital , density", "seq_in": "which is the highest peak not in alaska | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name ( alaska ) | highlow : state_name ( alaska ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name ( alaska ) | mountain : mountain_name , mountain_altitude , country_name , state_name ( alaska ) | river : river_name , length , country_name , traverse | state : state_name ( alaska ) , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.mountain_name from mountain as mountainalias0 where mountainalias0.mountain_altitude = ( select max( mountainalias1.mountain_altitude ) from mountain as mountainalias1 where mountainalias1.state_name <> \"alaska\" ) ;", "id": 327}, {"question-split": "test", "question": "which rivers do not run through texas", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME NOT IN ( SELECT RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"texas\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "texas"}], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.RIVER_NAME NOT IN ( SELECT RIVERalias1.RIVER_NAME FROM RIVER AS RIVERalias1 WHERE RIVERalias1.TRAVERSE = \"state_name0\" ) ;", "question_template": "which rivers do not run through state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "texas", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_in": "which rivers do not run through texas | geoquery | border_info : state_name ( texas ) , border ( texas ) | city : city_name , population , country_name , state_name ( texas ) | highlow : state_name ( texas ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( texas ) | state : state_name ( texas ) , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.river_name not in ( select riveralias1.river_name from river as riveralias1 where riveralias1.traverse = \"texas\" ) ;", "id": 328}, {"question-split": "test", "question": "which rivers do not run through usa", "query": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.COUNTRY_NAME <> \"usa\" ;", "sentence_variables": [{"key": "country_name0", "value": "usa"}], "sql_template": "SELECT DISTINCT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.COUNTRY_NAME <> \"country_name0\" ;", "question_template": "which rivers do not run through country_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "usa", "location": "both", "name": "country_name0", "type": "country_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_in": "which rivers do not run through usa | geoquery | border_info : state_name , border | city : city_name , population , country_name ( usa ) , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name ( usa ) , state_name | mountain : mountain_name , mountain_altitude , country_name ( usa ) , state_name | river : river_name , length , country_name ( usa ) , traverse | state : state_name , population , area , country_name ( usa ) , capital , density", "seq_out": "geoquery | select distinct riveralias0.river_name from river as riveralias0 where riveralias0.country_name <> \"usa\" ;", "id": 329}, {"question-split": "test", "question": "which rivers run through states that border the state with the capital austin", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"austin\" ) ) ;", "sentence_variables": [{"key": "capital0", "value": "austin"}], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME IN ( SELECT STATEalias0.STATE_NAME FROM STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = \"capital0\" ) ) ;", "question_template": "which rivers run through states that border the state with the capital capital0", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "austin", "location": "both", "name": "capital0", "type": "capital"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_in": "which rivers run through states that border the state with the capital austin | geoquery | border_info : state_name , border | city : city_name ( austin ) , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital ( austin ) , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name in ( select statealias0.state_name from state as statealias0 where statealias0.capital = \"austin\" ) ) ;", "id": 330}, {"question-split": "test", "question": "which rivers run through states with fewest cities", "query": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MIN( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.RIVER_NAME FROM RIVER AS RIVERalias0 WHERE RIVERalias0.TRAVERSE IN ( SELECT DERIVED_TABLEalias0.STATE_NAME FROM ( SELECT CITYalias0.STATE_NAME , COUNT( 1 ) AS DERIVED_FIELDalias0 FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DERIVED_FIELDalias0 = ( SELECT MIN( DERIVED_TABLEalias1.DERIVED_FIELDalias1 ) FROM ( SELECT COUNT( 1 ) AS DERIVED_FIELDalias1 FROM CITY AS CITYalias1 GROUP BY CITYalias1.STATE_NAME ) AS DERIVED_TABLEalias1 ) ) ;", "question_template": "which rivers run through states with fewest cities", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which rivers run through states with fewest cities | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.river_name from river as riveralias0 where riveralias0.traverse in ( select derived_tablealias0.state_name from ( select cityalias0.state_name, count( 1 ) as derived_fieldalias0 from city as cityalias0 group by cityalias0.state_name ) as derived_tablealias0 where derived_tablealias0.derived_fieldalias0 = ( select min( derived_tablealias1.derived_fieldalias1 ) from ( select count( 1 ) as derived_fieldalias1 from city as cityalias1 group by cityalias1.state_name ) as derived_tablealias1 ) ) ;", "id": 331}, {"question-split": "test", "question": "which state capital has the smallest population", "query": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.CITY_NAME FROM CITY AS CITYalias0 WHERE CITYalias0.POPULATION = ( SELECT MIN( CITYalias1.POPULATION ) FROM CITY AS CITYalias1 , STATE AS STATEalias0 WHERE STATEalias0.CAPITAL = CITYalias1.CITY_NAME ) ;", "question_template": "which state capital has the smallest population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state capital has the smallest population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.city_name from city as cityalias0 where cityalias0.population = ( select min( cityalias1.population ) from city as cityalias1, state as statealias0 where statealias0.capital = cityalias1.city_name ) ;", "id": 332}, {"question-split": "test", "question": "which state has the highest elevation", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "which state has the highest elevation", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the highest elevation | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 333}, {"question-split": "test", "question": "which state has the highest point", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.HIGHEST_ELEVATION = ( SELECT MAX( HIGHLOWalias1.HIGHEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "which state has the highest point", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the highest point | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.highest_elevation = ( select max( highlowalias1.highest_elevation ) from highlow as highlowalias1 ) ;", "id": 334}, {"question-split": "test", "question": "which state has the lowest elevation", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "sentence_variables": [], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 ) ;", "question_template": "which state has the lowest elevation", "query-split": "test", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the lowest elevation | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 ) ;", "id": 335}, {"question-split": "test", "question": "which state has the lowest point that borders idaho", "query": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"idaho\" ) ) AND HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"idaho\" ) ;", "sentence_variables": [{"key": "state_name0", "value": "idaho"}], "sql_template": "SELECT HIGHLOWalias0.STATE_NAME FROM HIGHLOW AS HIGHLOWalias0 WHERE HIGHLOWalias0.LOWEST_ELEVATION = ( SELECT MIN( HIGHLOWalias1.LOWEST_ELEVATION ) FROM HIGHLOW AS HIGHLOWalias1 WHERE HIGHLOWalias1.STATE_NAME IN ( SELECT BORDER_INFOalias0.BORDER FROM BORDER_INFO AS BORDER_INFOalias0 WHERE BORDER_INFOalias0.STATE_NAME = \"state_name0\" ) ) AND HIGHLOWalias0.STATE_NAME IN ( SELECT BORDER_INFOalias1.BORDER FROM BORDER_INFO AS BORDER_INFOalias1 WHERE BORDER_INFOalias1.STATE_NAME = \"state_name0\" ) ;", "question_template": "which state has the lowest point that borders state_name0", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "idaho", "location": "both", "name": "state_name0", "type": "state_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name ( idaho ) , border ( idaho ) | city : city_name , population , country_name , state_name ( idaho ) | highlow : state_name ( idaho ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( idaho ) | state : state_name ( idaho ) , population , area , country_name , capital , density", "seq_in": "which state has the lowest point that borders idaho | geoquery | border_info : state_name ( idaho ) , border ( idaho ) | city : city_name , population , country_name , state_name ( idaho ) | highlow : state_name ( idaho ) , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse ( idaho ) | state : state_name ( idaho ) , population , area , country_name , capital , density", "seq_out": "geoquery | select highlowalias0.state_name from highlow as highlowalias0 where highlowalias0.lowest_elevation = ( select min( highlowalias1.lowest_elevation ) from highlow as highlowalias1 where highlowalias1.state_name in ( select border_infoalias0.border from border_info as border_infoalias0 where border_infoalias0.state_name = \"idaho\" ) ) and highlowalias0.state_name in ( select border_infoalias1.border from border_info as border_infoalias1 where border_infoalias1.state_name = \"idaho\" ) ;", "id": 336}, {"question-split": "test", "question": "which state has the most major rivers", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "which state has the most major rivers", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the most major rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length > 750 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 337}, {"question-split": "test", "question": "which state has the most major rivers running through it", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 WHERE RIVERalias0.LENGTH > 750 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "which state has the most major rivers running through it", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the most major rivers running through it | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 where riveralias0.length > 750 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 338}, {"question-split": "test", "question": "which state has the smallest average urban population", "query": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ORDER BY AVG ( CITYalias0.POPULATION ) LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT CITYalias0.STATE_NAME FROM CITY AS CITYalias0 GROUP BY CITYalias0.STATE_NAME ORDER BY AVG ( CITYalias0.POPULATION ) LIMIT 1 ;", "question_template": "which state has the smallest average urban population", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the smallest average urban population | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select cityalias0.state_name from city as cityalias0 group by cityalias0.state_name order by avg ( cityalias0.population ) limit 1 ;", "id": 339}, {"question-split": "test", "question": "which state is mount mckinley in", "query": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mckinley\" ;", "sentence_variables": [{"key": "mountain_name0", "value": "mckinley"}], "sql_template": "SELECT MOUNTAINalias0.STATE_NAME FROM MOUNTAIN AS MOUNTAINalias0 WHERE MOUNTAINalias0.MOUNTAIN_NAME = \"mountain_name0\" ;", "question_template": "which state is mount mountain_name0 in", "query-split": "dev", "db_path": "data/geoquery.sqlite", "example_variables": [{"example": "mckinley", "location": "both", "name": "mountain_name0", "type": "mountain_name"}], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state is mount mckinley in | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point ( mount mckinley ) , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name ( mckinley ) , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select mountainalias0.state_name from mountain as mountainalias0 where mountainalias0.mountain_name = \"mckinley\" ;", "id": 340}, {"question-split": "test", "question": "which states have a river", "query": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 ;", "sentence_variables": [], "sql_template": "SELECT DISTINCT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 ;", "question_template": "which states have a river", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which states have a river | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select distinct riveralias0.traverse from river as riveralias0 ;", "id": 341}, {"question-split": "test", "question": "what state has the most rivers", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "what state has the most rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "what state has the most rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 342}, {"question-split": "test", "question": "which state has the most rivers", "query": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "sentence_variables": [], "sql_template": "SELECT RIVERalias0.TRAVERSE FROM RIVER AS RIVERalias0 GROUP BY RIVERalias0.TRAVERSE ORDER BY COUNT( RIVERalias0.RIVER_NAME ) DESC LIMIT 1 ;", "question_template": "which state has the most rivers", "query-split": "train", "db_path": "data/geoquery.sqlite", "example_variables": [], "db_table_names": ["border_info", "city", "highlow", "lake", "mountain", "river", "state"], "db_column_names": [{"table_id": -1, "column_name": "*"}, {"table_id": 0, "column_name": "state_name"}, {"table_id": 0, "column_name": "border"}, {"table_id": 1, "column_name": "city_name"}, {"table_id": 1, "column_name": "population"}, {"table_id": 1, "column_name": "country_name"}, {"table_id": 1, "column_name": "state_name"}, {"table_id": 2, "column_name": "state_name"}, {"table_id": 2, "column_name": "highest_elevation"}, {"table_id": 2, "column_name": "lowest_point"}, {"table_id": 2, "column_name": "highest_point"}, {"table_id": 2, "column_name": "lowest_elevation"}, {"table_id": 3, "column_name": "lake_name"}, {"table_id": 3, "column_name": "area"}, {"table_id": 3, "column_name": "country_name"}, {"table_id": 3, "column_name": "state_name"}, {"table_id": 4, "column_name": "mountain_name"}, {"table_id": 4, "column_name": "mountain_altitude"}, {"table_id": 4, "column_name": "country_name"}, {"table_id": 4, "column_name": "state_name"}, {"table_id": 5, "column_name": "river_name"}, {"table_id": 5, "column_name": "length"}, {"table_id": 5, "column_name": "country_name"}, {"table_id": 5, "column_name": "traverse"}, {"table_id": 6, "column_name": "state_name"}, {"table_id": 6, "column_name": "population"}, {"table_id": 6, "column_name": "area"}, {"table_id": 6, "column_name": "country_name"}, {"table_id": 6, "column_name": "capital"}, {"table_id": 6, "column_name": "density"}], "db_column_types": ["text", "text", "text", "text", "number", "text", "text", "text", "text", "text", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "text", "text", "text", "number", "number", "text", "text", "number"], "db_primary_keys": [], "db_foreign_keys": [], "db_id": "geoquery", "serialized_schema": " | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_in": "which state has the most rivers | geoquery | border_info : state_name , border | city : city_name , population , country_name , state_name | highlow : state_name , highest_elevation , lowest_point , highest_point , lowest_elevation | lake : lake_name , area , country_name , state_name | mountain : mountain_name , mountain_altitude , country_name , state_name | river : river_name , length , country_name , traverse | state : state_name , population , area , country_name , capital , density", "seq_out": "geoquery | select riveralias0.traverse from river as riveralias0 group by riveralias0.traverse order by count( riveralias0.river_name ) desc limit 1 ;", "id": 343}]